Retrieve coupon by id
Retrieve coupon by id
Authorizations:Token
Query Parameters
id required | integerId value of the Coupon object |
Responses
200Success
Response schema:
Success id | integerProduct unique ID |
code | stringCode |
enabled | booleanEnabled status |
value | stringValue |
type | stringType |
comment | stringComment |
uses | integerUses count |
dateRangeBegin | integerDate range (begin) |
dateRangeEnd | integerDate range (end) |
totalRangeBegin | stringTotal range (begin) |
totalRangeEnd | stringTotal range (end) |
usesLimit | integerUses limit |
usesLimitPerUser | integerUses limit per user |
singleUse | booleanFlag: Can a coupon be used together with other coupons (false) or no (true) |
productClasses | ArrayProduct classes |
memberships | ArrayMemberships |
usedCoupons | ArrayUsed coupons |
categories | ArrayCategories |