Update a Booking

Replace the editable booking fields. The registered route accepts both POST and PATCH; both methods require the same complete request body and the write_booking OAuth scope. Status changes use the lifecycle endpoints.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Booking UUID.

Body Params

Create and update use the same complete representation. Supply either user_id or a non-empty guest_name. external_provider and external_id must be supplied together.

uuid
required
uuid
string
length ≤ 255
string
length ≤ 255
string
length ≤ 64
integer
required
≥ 1
Defaults to 2
int64
required
Defaults to 1789470000

Unix timestamp in seconds.

int64
required
Defaults to 1789477200

Unix timestamp in seconds; must be later than starts_at.

string
string
length ≤ 64
string
length ≤ 255
Responses

400

Invalid request body or booking values.

404

Booking not found in the authenticated project.

409

The external provider and ID already identify another booking.

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