GET
Retrieve attribute options by conditions

_cnd[limit]
array 
Sets the offset (first item) and the limit (second item)
_cnd[orderBy]
array 
Sets sorting order field
default Success <XLite\Model\AttributeOption>[] array
Sample response
[{"id":"integer","attribute":"<XLite\\Model\\Attribute>","addToNew":"boolean","position":"integer"}]

GET
Retrieve attribute option by id

id
integer Required
Id value of the AttributeOption object
default Success <XLite\Model\AttributeOption>
Sample response
{"id":"integer","attribute":"<XLite\\Model\\Attribute>","addToNew":"boolean","position":"integer"}
id
integer
ID
attribute
addToNew
boolean
Add to new products or class’s assigns automatically
position
integer
Position

PUT
Update attribute option by id

id
integer Required
Id value of the AttributeOption object
<XLite\Model\AttributeOption>
id
integer
ID
attribute
addToNew
boolean
Add to new products or class’s assigns automatically
position
integer
Position
default Success <XLite\Model\AttributeOption>
Sample response
{"id":"integer","attribute":"<XLite\\Model\\Attribute>","addToNew":"boolean","position":"integer"}
id
integer
ID
attribute
addToNew
boolean
Add to new products or class’s assigns automatically
position
integer
Position

DELETE
Delete attribute option by id

id
integer Required
Id value of the AttributeOption object
default Success <XLite\Model\AttributeOption>
Sample response
{"id":"integer","attribute":"<XLite\\Model\\Attribute>","addToNew":"boolean","position":"integer"}
id
integer
ID
attribute
addToNew
boolean
Add to new products or class’s assigns automatically
position
integer
Position

POST
Add new attribute option

<XLite\Model\AttributeOption>
id
integer
ID
attribute
addToNew
boolean
Add to new products or class’s assigns automatically
position
integer
Position
default Success <XLite\Model\AttributeOption>
Sample response
{"id":"integer","attribute":"<XLite\\Model\\Attribute>","addToNew":"boolean","position":"integer"}
id
integer
ID
attribute
addToNew
boolean
Add to new products or class’s assigns automatically
position
integer
Position