• This page and the examples within represent the creation of new attributes and updating of existing attributes after the creation of the underlying product.
    • For an example of creating a product with attributes at the same time, see Creating a Basic Product with Attributes.
  • Requires the Product ID (not the Sku - the ChannelAdvisor unique ID representing the product).
    • Place a GET Products request and $filter=Sku eq 'PRODUCT SKU VALUE'&$select=ID to return the ID to use in this request.
  • After a product is created, this is how to add or update attributes and attribute values for a product.
  • Some endpoints do not allow updating more than one attribute at a time - there is an endpoint available to do this.
  • For a way to create attributes during product creation, please see the pages on Creating Products.
  • Encode any characters in the Attribute Name that may be interpreted as operators when the Attribute Name is required in the URI.
  • Notice the different format necessary for $batch requests in the examples below.

Attribute Endpoints

All available endpoints for Attributes.

Important and/or Required Parameters

PropertyType (Max Length)RequiredNote
ProductIDinteger (32 bit)RequiredThe ChannelAdvisor defined unique ID (not the Sku value) of the product.
See note above under "Considerations" about retrieving the Product ID.
ProfileIDinteger (32 bit)ConditionalInclude in body of POST request only. Omit from all other requests.
Identifies the ChannelAdvisor account. Required if authorized for multiple profiles.
Namestring (32)RequiredLocation varies by request type. The name of the attribute.
Valuestring (32,000)RequiredInclude in the body. The value that corresponds with the name given.

Attribute Request Examples