Queue an export of the appointments list
Queues a background job that exports the same Appointment list returned by GET /shop/appointments as a CSV download. Use this when the result set is too large to retrieve synchronously, or when you want the export delivered to the calling user as a downloadable file.
The response returns a QueuedJob resource you can poll via GET /shop/queued-jobs/{queuedJobId}. Once the job has finished, its download_url becomes available and the CSV can be streamed.
All filters supported by the list endpoint (date range, order submitted range, practitioner, room, zone) are accepted here and are applied to the export.
Query parameters
Filter results by the site they belong to
Restrict results to those on or after this date, ISO-8601 YYYY-MM-DD.
Restrict results to those on or before this date, ISO-8601 YYYY-MM-DD.
the order submitted date to fetch appointments from
the order submitted date to fetch appointments to
A comma separated string of practitioner ids to fetch bookings for
A comma separated string of room ids to fetch bookings for
A comma separated string of zone ids to fetch bookings for
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.