<- Bookings API

Bookings API

All versions ->

Update booking

PUT

 /v2/bookings/{booking_id}

Updates a booking.

To call this endpoint with buyer-level permissions, set APPOINTMENTS_WRITE for the OAuth scope. To call this endpoint with seller-level permissions, set APPOINTMENTS_ALL_WRITE and APPOINTMENTS_WRITE for the OAuth scope.

For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to Appointments Plus or Appointments Premium.

Permissions:APPOINTMENTS_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

booking_id

string

Required

The ID of the Booking object representing the to-be-updated booking.

Link to section

Request body

Link to section

idempotency_key

string

A unique key to make this request an idempotent operation.

Link to section

booking

Required

The booking to be updated. Individual attributes explicitly specified here override the corresponding values of the existing booking.

Link to section

Response fields

Link to section

booking

The booking that was updated.

Link to section

errors

Errors that occurred during the request.