Initiate export request
Initiate an export request based on specified filter criteria.
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 sample request to initiate data export.
The type of data to export.
REDEMPTION
, CALCULATED_PRICE
Filters to apply when exporting the data.
Response
The sample response of the create export request.
A unique ID for the export request.
The start time of the export process.
The status of the export process.
IN_PROGRESS
, COMPLETED
, ERROR
The type of data to export.
The end time of the export process.
The total number of exported data in the csv file. Each row in the csv file represents one record of exported data.
Errors during export process.
Was this page helpful?