Retrieve a list of discounts
Retrieve a list of discounts
Authorizations:Token, JWT
Query Parameters
page | integerDefault: 1 The collection page number |
itemsPerPage | integer[0 .. 100]Default: 30 The number of items per page |
pagination | booleanEnable or disable pagination |
Responses
200Volume Discount collection
Response schema:
Volume Discount collection Array
value | number |
type | stringDefault: "%" |
date_range_begin | string |
date_range_end | string |
subtotal_range_begin | number |
membership | integer |
zones | Array of integers |
id | integer>= 1 |
401Unauthorized
Response schema:
Unauthorized type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |
500Internal error
Response schema:
Internal error type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |