Start an order export process to retrieve a CSV of exported orders.
You’ll receive in the response the transaction ID of the workflow generating the CSV file. To check the status of the execution, send a GET request to /admin/workflows-executions/export-orders/:transaction-id.
Once the execution finishes successfully, a notification is created for the export. You can retrieve the notifications using the /admin/notification API route to retrieve the file’s download URL.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the order to export.
The IDs of the sales channels to export their orders.
A sales channel ID.
The ID of a region to export orders in it.
The ID of a customer to export their orders.
A search query to filter exported orders by.
Filter by an order's creation date.
Filter by an order's update date.
Limit the number of items returned in the list.
The number of items to skip when retrieving a list.
The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with -.
Whether to include deleted orders in the export.
Comma-separated fields that should be included in the returned data. If a field is prefixed with + it will be added to the default fields, using - will remove it from the default fields. Without prefix it will replace the entire default fields.
The status of the orders to export.
canceled, completed, pending, draft, archived, requires_action Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters.
Join query parameters with an OR condition. Each object's content is the same type as the expected query parameters.
OK
The details of the order export.
The ID of the workflow execution's transaction. Use it to check the status of the export by sending a GET request to /admin/workflows-executions/export-orders/:transaction-id