Confirm a held booking

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
Headers
string
required
length ≤ 100
string
required

Quoted positive integer version; bare integers are also accepted.

Responses

400

A body field or a missing Idempotency-Key or If-Match.

403

Missing appointments:write scope, or a booking in a diary you may not change.

404

Appointment not visible to the current account.

409

The hold expired and the slot was released, the booking is cancelled, or the key was used with another request.

412

Stale version: read the booking again and retry with its version.

422

A class booking.

503

The booking API is not enabled for this key, or is temporarily unavailable.

Language
Credentials
Bearer
API Key
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json