Skip to main content

Retrieve a coupon

Retrieve a coupon.

Authorizations:Token, JWT
Query Parameters
id
required
stringResource identifier

Responses

200Coupon resource
Response schema:
Coupon resource
abandoned_cartinteger or null>= 0
abandoned_cart_couponboolean
idinteger>= 0
codestring<= 16 characters
enabledboolean
valuenumber
typestring
commentstring
date_range_beginstring or null
date_range_endstring or null
total_range_beginnumber or null
total_range_endnumber or null
uses_limitinteger or null
uses_limit_per_userinteger or null
single_useboolean
specific_productsboolean
product_classesArray of integers
membershipsArray of integers
zonesArray of integers
productsArray of integers
categoriesArray of integers
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
404Resource not found
Response schema:
Resource not found
typestring
titlestring
detailstring or null
instancestring or null
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null