The AttributeSets resource allows attributes to be listed, created, and updated. An individual attribute set details can be viewed or updated by appending its identifier ( a GUID formatted as XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) to the URI. Some example URIs:
/AttributeSets/7033d0cb-999d-4ea9-b5f4-23481006f5f0 - Returns details of a particular attribute set.
/AttributeSets/Page/1 - Returns the first page of 200 attribute sets.
/AttributeSets/1 - Returns the first page of 200 attribute sets.
Note:This endpoint can only be used for Products.
The full range of URIs and HTTP Verbs supported are:
Operation
HTTP Action
List all attribute sets.
GET /AttributeSets
List the attribute sets for a specific guid.
GET /AttributeSets/{Guid}
Create a new attribute set.
POST /AttributeSets/{id}
GET AttributeSets
Available Fields for AttributeSets:
Property
Type
Length
Required
Notes
Guid
Guid
Yes
Unique identifier. Can only be set when adding a record.
LastModifiedOn
Nullable DateTime
SetName
String
500
Type
Product
Yes
The Type value must be Product.
Attributes
Attribute Collection
Available Fields for Attribute:
Property
Type
Length
Required
Notes
Guid
Guid
Yes
Unique identifier. Can only be set when adding a record.
Name
String
500
Value
String
500
Returns the default value assigned to the attribute.
IsRequired
Boolean
true,false
Examples for Response GET /AttributeSets
show xml example
show json example
POST AttributeSets
Examples for Request POST /AttributeSets/
show xml example
show json example
Examples for Response POST /AttributeSets/
show xml example
show json example
Use the API Sandbox to see how the object is rendered in JSON or XML.
Note:An Unleashed account is required before you can use the API Sandbox.
Trial accounts are also allowed to connect to the API.
You can register a new account here: Register.