Requires appointments:write, Idempotency-Key and If-Match version. The body is empty (an empty object or no body at all); any field is refused with 400. Confirms a booking created with hold: the hold is cleared and the confirmation the create did not send goes to the client (and to the practitioner when someone else made the booking), exactly as for a booking made without a hold. A booking that is not held (never was, or already confirmed) answers 200 with the booking as it is and sends nothing, so confirm is safe to repeat. A booking whose hold has run out is cancelled and its slot released; confirming it answers 409 booking_conflict, before the version is compared. When a hold runs out, the unpaid invoice of a priced booking is voided with it, as long as nothing was recorded or credited on it and it bills this booking alone. An invoice with a payment record on it is left open: record the refund, then void it with POST /invoices/{invoiceId}/void.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400A body field or a missing Idempotency-Key or If-Match.
403Missing appointments:write scope, or a booking in a diary you may not change.
404Appointment not visible to the current account.
409The hold expired and the slot was released, the booking is cancelled, or the key was used with another request.
412Stale version: read the booking again and retry with its version.
422A class booking.
503The booking API is not enabled for this key, or is temporarily unavailable.
