Get a list of all coupon codes
Retrieves a paginated list of all coupon codes.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Query Parameters
Records the number returned by the endpoint.
1 < x < 100
Record pointer to get items after that record
Filter records by the user ID.
Filter records by the promotion ID.
Filter records by coupon code.
Filter records by status.
ACTIVE
, INACTIVE
, REDEEMED
Filter records from a specific start date.
Filter records until a specific start date.
Filter the records since a specific end date
Filter records until a specific end date.
Filter by the coupon code's additional attributes. This filter needs to be a valid JSON array to be able to make the search.
Filter by the related promotion or coupon's additional attributes. This filter needs to be a valid JSON array to be able to make the search.
Filter coupon codes by the related promotion title.
Response
Was this page helpful?