Skip to content

Associate a booking with a sequence (or detach)

PATCH
/appointments/bookings/{booking_uid}/sequence

Link a booking to a sequencer sequence or remove the link.

sequence_id is the sequence UUID (seqsequences.id); pass null / omit to detach. Writes to booking.metadata_['campaignId'] - the same field the public booking flow populates from ?campaignId= at create time. No EDA event is emitted (CRM-only action). Backed by BookingsHandler.handle_update_sequence. Raises 404 when the booking uid is not visible to the caller.

Authorizations

Parameters

Path Parameters

booking_uid
required

Booking UID (uuid string).

string

Booking UID (uuid string).

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Associate a booking with a sequencer sequence (or detach when null).

sequence_id is the seqsequences.id UUID. Persisted under booking.metadata_['campaignId'] — same key the public booking flow populates from the ?campaignId= URL param at create time.

object
sequence_id
Any of:
string

Responses

200

Successful Response

object
key
additional properties
any

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string