This method returns the list of canonical colors available.
http://api.shopstylecollective.com/api/v2/colors?pid=YOUR_API_KEY
Response
A list of all Colors, with id, name, and url of each.
Sample JSON
{
"metadata": {
"label": "Color",
"pluralLabel": "Colors",
"name": "Color",
"shortName": "c",
"multiSelect": true
},
"colors": [
{
"id": "1",
"name": "Brown",
"rank": 12
}
]
}
Sample XML
<ColorListResponse>
<metadata>
<label>Color</label>
<pluralLabel>Colors</pluralLabel>
<name>Color</name>
<shortName>c</shortName>
<multiSelect>true</multiSelect>
</metadata>
<colors>
<color>
<id>1</id>
<name>Brown</name>
<rank>12</rank>
</color>
</colors>
</ColorListResponse>