Get all promotions
Retrieves a paginated list of all promotions.
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.
Body
The number of records to skip before returning records. For example, when offset is 20 and limit is 10, this endpoint returns records from 21 to 30.
x > 0
The maximum number of records per page.
1 < x < 100
Keyword to filter the matched promotion titles or promotional codes or coupon codes
Field by which you want to sort the records
updatedAt
, title
, startDate
, endDate
Sorting order of the records<br />desc: Descending order<br />asc: Ascending order
desc
, asc
Was this page helpful?