Retrieve a list of coupons
Retrieve a list of coupons.
Authorizations:Token, JWT
Query Parameters
page | integerDefault: 1 The collection page number |
itemsPerPage | integer[0 .. true]Default: 30 The number of items per page |
pagination | booleanEnable or disable pagination |
Responses
200Coupon collection
Response schema:
Coupon collection Array
abandoned_cart | integer>= 0 |
abandoned_cart_coupon | boolean |
id | integer>= 0 |
code | string<= 16 characters |
enabled | boolean |
value | number |
type | string |
comment | string |
date_range_begin | string |
date_range_end | string |
total_range_begin | number |
total_range_end | number |
uses_limit | integer |
uses_limit_per_user | integer |
single_use | boolean |
specific_products | boolean |
product_classes | Array of integers |
memberships | Array of integers |
zones | Array of integers |
products | Array of integers |
categories | Array of integers |
401Unauthorized
Response schema:
Unauthorized type | string |
title | string |
detail | string or null |
instance | string or null |
500Internal error
Response schema:
Internal error type | string |
title | string |
detail | string or null |
instance | string or null |