Queue an export of the order items report
This endpoint queues an export of the order items report to be generated asynchronously.
Query parameters
Restrict the report to order items belonging to the given site. Omit to include items from every site the caller's API key can access; the response groups them under their own site_id field.
A comma-separated list of order labels IDs to filter on.
A comma-separated list of order labels IDs to filter on.
A comma-separated list of sales channel IDs to filter on.
A comma-separated list of sales channel IDs to filter on.
A comma-separated list of offering IDs to filter on.
A comma-separated list of offering IDs to filter on.
A comma-separated list of item types to filter on.
A comma-separated list of item types to filter on.
Filter by the offering's category.
A comma-separated list of offering category ids to filter on.
Filter by the status of the item.
A comma-separated list of statuses to filter on.
A comma-separated list of order statuses to filter on.
A comma-separated list of order statuses to filter on.
Filter on items with an order revenue date on or after this date.
Filter on items with an order revenue date on or before this date.
Filter on items with a start time on or after this date.
Filter on items with a start time on or before this date.
Filter on orders with a submitted date on or after this time.
Filter on orders with a submitted date before this time.
Filter on items which are booked in for on or after this date.
Filter on items which are booked in for before this date.
A comma-separated list of category IDs to filter on.
A comma-separated list of stock category IDs to filter on.
A comma-separated list of stock brand IDs to filter on.
A comma-separated list of revenue centre names to filter on.
A comma-separated list of user IDs to filter for items sold by that user.
A comma-separated list of user IDs to filter for items sold by that user.
A comma-separated list of practitioner IDs to filter on.
A comma-separated list of practitioner IDs to filter on.
A comma-separated list of shop category ids to filter on (includes offering and voucher categories).
A comma-separated list of room IDs to filter on.
A comma-separated list of room IDs to filter on.
A comma-separated list of zone IDs to filter on.
A comma-separated list of zone IDs to filter on.
Response
The job was successfully queued
Example response
{
"data": {
"created_at": "2023-11-07T00:00:00+00:00",
"updated_at": "2023-11-07T01:00:00+00:00"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.