Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Specify which order parameters you would like to export.
Request body schema for POST v1/orders/export
.
List of available fields and filters that can be exported with an order along with the sorting order of the returned data.
Response
Returns the id
of the export object and status
of the file generation process. The id
is used in the <!-- [Get Export](OpenAPI.json/paths/~1exports~1{exportId}/get) -->Get Export method to generate the url for the downloadable CSV file or in the <!-- [Download Export](OpenAPI.json/paths/~1exports~1{export_Id}/get) -->Download Export method to return the contents of the CSV file. The status indicates whether the file has been scheduled for creation.
Response body schema for POST v1/orders/export
.
Unique export ID.
The type of object being represented. This object stores information about the export.
export
Timestamp representing the date and time when the export was scheduled in ISO 8601 format.
Status of the export. Informs you whether the export has already been completed, i.e. indicates whether the file containing the exported data has been generated.
SCHEDULED
Contains the URL of the CSV file.
Identifies the specific user who initiated the export through the Voucherify Dashboard; returned when the channel value is WEBSITE.
The type of object to be exported.
order
The channel through which the export was triggered.
List of available fields and filters that can be exported with an order along with the sorting order of the returned data.