GET
Retrieve product classs 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\ProductClass>[] array
Sample response
[{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","categories":"<XLite\\Model\\Category>[] array","id":"integer","position":"integer","attributes":"<XLite\\Model\\Attribute>[] array","attribute_groups":"<XLite\\Model\\AttributeGroup>[] array"}]

GET
Retrieve product class by id

id
integer Required
Id value of the ProductClass object
default Success <XLite\Model\ProductClass>
Sample response
{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","categories":"<XLite\\Model\\Category>[] array","id":"integer","position":"integer","attributes":"<XLite\\Model\\Attribute>[] array","attribute_groups":"<XLite\\Model\\AttributeGroup>[] array"}
coupons
[] array
Coupons
categories
[] array
Categories
id
integer
ID
position
integer
Position
attributes
[] array
Attributes
attribute_groups
[] array
Attribute groups

PUT
Update product class by id

id
integer Required
Id value of the ProductClass object
<XLite\Model\ProductClass>
coupons
[] array
Coupons
categories
[] array
Categories
id
integer
ID
position
integer
Position
attributes
[] array
Attributes
attribute_groups
[] array
Attribute groups
default Success <XLite\Model\ProductClass>
Sample response
{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","categories":"<XLite\\Model\\Category>[] array","id":"integer","position":"integer","attributes":"<XLite\\Model\\Attribute>[] array","attribute_groups":"<XLite\\Model\\AttributeGroup>[] array"}
coupons
[] array
Coupons
categories
[] array
Categories
id
integer
ID
position
integer
Position
attributes
[] array
Attributes
attribute_groups
[] array
Attribute groups

DELETE
Delete product class by id

id
integer Required
Id value of the ProductClass object
default Success <XLite\Model\ProductClass>
Sample response
{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","categories":"<XLite\\Model\\Category>[] array","id":"integer","position":"integer","attributes":"<XLite\\Model\\Attribute>[] array","attribute_groups":"<XLite\\Model\\AttributeGroup>[] array"}
coupons
[] array
Coupons
categories
[] array
Categories
id
integer
ID
position
integer
Position
attributes
[] array
Attributes
attribute_groups
[] array
Attribute groups

POST
Add new product class

<XLite\Model\ProductClass>
coupons
[] array
Coupons
categories
[] array
Categories
id
integer
ID
position
integer
Position
attributes
[] array
Attributes
attribute_groups
[] array
Attribute groups
default Success <XLite\Model\ProductClass>
Sample response
{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","categories":"<XLite\\Model\\Category>[] array","id":"integer","position":"integer","attributes":"<XLite\\Model\\Attribute>[] array","attribute_groups":"<XLite\\Model\\AttributeGroup>[] array"}
coupons
[] array
Coupons
categories
[] array
Categories
id
integer
ID
position
integer
Position
attributes
[] array
Attributes
attribute_groups
[] array
Attribute groups