GET
Retrieve all memberships

_cnd[limit]
array 
Sets the offset (first item) and the limit (second item)
_cnd[orderBy]
array 
Sets sorting order field
default Success <XLite\Model\Membership>[] array
Sample response
[{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","membership_id":"integer","position":"integer","enabled":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","categories":"<XLite\\Model\\Category>[] array","products":"<XLite\\Model\\Product>[] array"}]

GET
Retrieve membership by id

id
integer Required
Id value of the Membership object
default Success <XLite\Model\Membership>
Sample response
{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","membership_id":"integer","position":"integer","enabled":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","categories":"<XLite\\Model\\Category>[] array","products":"<XLite\\Model\\Product>[] array"}
coupons
[] array
Coupons
membership_id
integer
Unique id
position
integer
Position
enabled
boolean
Enabled status
quickData
[] array
Quick data
categories
[] array
Categories
products
[] array
Products

PUT
Update membership by id

id
integer Required
Id value of the Membership object
<XLite\Model\Membership>
coupons
[] array
Coupons
membership_id
integer
Unique id
position
integer
Position
enabled
boolean
Enabled status
quickData
[] array
Quick data
categories
[] array
Categories
products
[] array
Products
default Success <XLite\Model\Membership>
Sample response
{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","membership_id":"integer","position":"integer","enabled":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","categories":"<XLite\\Model\\Category>[] array","products":"<XLite\\Model\\Product>[] array"}
coupons
[] array
Coupons
membership_id
integer
Unique id
position
integer
Position
enabled
boolean
Enabled status
quickData
[] array
Quick data
categories
[] array
Categories
products
[] array
Products

DELETE
Delete membership by id

id
integer Required
Id value of the Membership object
default Success <XLite\Model\Membership>
Sample response
{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","membership_id":"integer","position":"integer","enabled":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","categories":"<XLite\\Model\\Category>[] array","products":"<XLite\\Model\\Product>[] array"}
coupons
[] array
Coupons
membership_id
integer
Unique id
position
integer
Position
enabled
boolean
Enabled status
quickData
[] array
Quick data
categories
[] array
Categories
products
[] array
Products

POST
Add new membership

<XLite\Model\Membership>
coupons
[] array
Coupons
membership_id
integer
Unique id
position
integer
Position
enabled
boolean
Enabled status
quickData
[] array
Quick data
categories
[] array
Categories
products
[] array
Products
default Success <XLite\Model\Membership>
Sample response
{"coupons":"<XLite\\Module\\CDev\\Coupons\\Model\\Coupon>[] array","membership_id":"integer","position":"integer","enabled":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","categories":"<XLite\\Model\\Category>[] array","products":"<XLite\\Model\\Product>[] array"}
coupons
[] array
Coupons
membership_id
integer
Unique id
position
integer
Position
enabled
boolean
Enabled status
quickData
[] array
Quick data
categories
[] array
Categories
products
[] array
Products