Typescript (SDK)
Discounts
List discounts
Returns a list of discounts for the current account
GET
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Query Parameters
Filter by discount status
Available options:
active, expired, scheduled Search by discount code
Cursor for pagination — the ID of the last item in the previous page
Items per page
Required range:
1 <= x <= 100
