• Pages
  • /
  • Dealers
  • /
  • Data Depot
  • /
  • Version 4
  • /
  • API
  • /
  • Services
  • /
  • Attributes

Attributes

Attributes are a quality or feature regarded as a characteristic or inherent part of a parent object.

We apply attributes to Items (and sometimes Products) periodically as they make their way through our system. Attributes are separated into two parts: Attributekeys and Attributevalues. Think of them as a key/value pair that are interdependent and never really used separately.

Attributekey : Attributevalue

An example of probably the most common Attributekey would be Color and an example of a common Attributevalue would be Red. Naturally, together that combination would apply to all the items of which we classify as being red in color. Another common attribute example would be "Size : Large" where Size is the Attributekey and Large is the Attributevalue.

More examples (there are hundreds):

Attributekey

Attributevalue

Color Red Green Blue ...
Size Small Medium Large Extra Large ...
Finish Machined Natural Polished Stainless ...
Material Aluminum Carbon Kevlar Nickel-Chrome-Molybdenum Plastic ...

Example requests

Attributekeys

Collection

https://api.wps-inc.com/attributekeys

Entity

https://api.wps-inc.com/attributekeys/15

...or send multiple ids separated by a comma(,)

https://api.wps-inc.com/attributekeys/1,13,15

Attributevalues

Collection

https://api.wps-inc.com/attributevalues

Entity

https://api.wps-inc.com/attributevalues/901

...or send multiple ids separated by a comma(,)

https://api.wps-inc.com/attributevalues/848,859,870,881,901

Parent Attributekey

https://api.wps-inc.com/attributevalues/901/attributekey

Associated Items

https://api.wps-inc.com/attributevalues/901/items

Associated Products

https://api.wps-inc.com/attributevalues/1049/products

Associated Vehicles

https://api.wps-inc.com/attributevalues/679/vehicles