Upserts a bookings custom attribute.
PUT
/v2/bookings/{booking_id}/custom-attributes/{key}
Upserts a bookings custom attribute.
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.
The ID of the target booking.
The custom attribute to create or update, with the following fields:
value
. This value must conform to the schema
specified by the definition. For more information, see Value data types.
version
. To enable optimistic concurrency control for an update operation, include this optional field and specify the current version of the custom attribute.
A unique identifier for this request, used to ensure idempotency. For more information, see Idempotency.