generic.colors
metadata attribute contains a list of color objects.
Each object consists of a baseColor
attribute and an optional shade
attribute,
both of which are strings.
{
// ...
"product": {
"metadata": {
"generic": {
"colors": [
{"baseColor": "blue", "shade": "light"},
{"baseColor": "black"}
]
}
}
}
}
All supported baseColor
values are listed here:
beige
black
blue
bronze
brown
chrome
cyan
gold
gray
green
ivory
khaki
magenta
multi
orange
pink
purple
red
silver
transparent
violet
white
wood
yellow
All supported shade
values:
light
dark
medium
matte
gloss