API


/colors
This method returns the list of canonical colors available.

Response
A list of all Colors, with id, name, and url of each.
Sample JSON
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{"colors":[{
  "id":"1"
  ,"name":"Brown"
  ,"url":"http://www.shopstyle.com/browse?fl=c1&pid=anonymous"
  }
  ,{
  "id":"3"
  ,"name":"Orange"
  ,"url":"http://www.shopstyle.com/browse?fl=c3&pid=anonymous"
  }
}
Sample XML
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
<APIResponse>
  <colors>
    <color>
      <id>1</id>
      <name>Brown</name>
      <url>http://www.shopstyle.com/browse?fl=c1&pid=anonymous</url>
    </color>
    <color>
      <id>3</id>
      <name>Orange</name>
      <url>http://www.shopstyle.com/browse?fl=c3&pid=anonymous</url>
    </color>
  </colors>
</APIResponse>