Update Booking

This endpoint updates an existing booking. Only provided fields are updated (partial update).

Customer policy enforcement

Updates are validated against the merchant's customer policy before being applied. If the merchant has disabled edits, the booking is too close to its start time, or it has reached its maximum number of changes, the request is rejected with 422 restricted and the detail field identifies which rule tripped:

DetailMeaning
can_editMerchant disabled edits via the customer flow.
before_edit_bookingBooking is within the merchant's pre-start lock window (no edits allowed this close to start_time).
max_changesBooking has reached the merchant's maximum number of changes.

These values are configured by the merchant in Configuraciones > Sitio web > Edición y cancelación de reservas en línea.

Clients integrating against this API should surface these conditions to their end users as "the merchant does not allow this change" rather than retrying the request.

Errors Dictionary

StatusErrorDetailDescription
401unauthorizedinvalid_api_keyMissing or invalid Bearer token.
401unauthorizedapi_config_inactiveAPI access is inactive for this company.
403forbiddenscope_deniedAPI key lacks bookings:write scope.
404not_foundbookingBooking not found.
422restrictedcan_editMerchant has disabled edits via the customer flow.
422restrictedbefore_edit_bookingBooking is within the merchant's pre-start lock window.
422restrictedmax_changesBooking has reached the merchant's maximum number of changes.
429rate_limitedburst_limit_exceededPer-minute request limit exceeded.
429rate_limiteddaily_quota_exceededDaily request quota exceeded.
502upstream_unavailableThe upstream service is unavailable.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
≥ 1

Booking unique identifier.

Body Params

Request body for updating a booking (partial update).

date-time

Booking start time.

date-time

Booking end time.

integer

Service ID.

integer

Service provider ID.

integer

Client ID.

integer

Location ID.

integer

Booking status ID. Cannot set to cancelled (use cancel endpoint).

string

Booking price.

string | null

Booking notes.

integer | null

Time resource ID.

Responses

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