Reports

Queue an export of the cancellations and no-shows report

Queues a CSV export of the cancellations and no-shows report so it can be generated asynchronously. The report is run on a background worker and, when email=true, is delivered to the calling user once ready. Use this instead of the synchronous endpoint when the date range spans more than a few months.

See /shop/reports/cancellations-and-no-shows for the synchronous variant.

get/shop/reports/cancellations-and-no-shows/queue

Query parameters

site_idstring uuid required

Restrict the report to baskets at the given site. Required.

revenue_date_fromstring date required
Example:2026-06-01

Restrict to baskets with a revenue date on or after this date.

revenue_date_tostring date required
Example:2026-06-30

Restrict to baskets with a revenue date on or before this date.

emailboolean

If true, email the completed CSV to the authenticated user when the background job finishes. Defaults to false, in which case the queued job's output URL must be polled via the queued-jobs endpoint.

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.