Update existing booking

Update existing booking

Required scopes: flex.space.bookings.update

Path Params
string
required

booking id

string
required

organization slug

Query Params
boolean

Whether to send notifications to the member. If true, a notification will not be sent. If false or not passed at all, the notification will be sent as normal.

boolean

Whether to enforce the booking policy and member validation rules for this request. If true, member validations (business hours, min/max duration, future-booking limits, credits-only rule, recurrence span) and booking-policy-driven tentative/approval flagging are applied. If false or not passed at all, the request behaves as it does today, with no additional validation or policy-driven flagging.

Body Params
properties
object

An object that contains all custom properties that can be applied to the item.

string
required

The start date of the booking.

string
required

The end date of the booking.

string
required

The _id of the resource associated with the booking.

string

The description of the booking.

string

The title of the booking.

boolean

Determines whether the booking is confirmed or not.

serviceSlots
object

Determines whether the booking has buffer slots before and after.

extras
array of objects

Contains all the extra fees associated with the booking. You can enter the id of the one-off that will be used as an extra and its quantity.

extras
boolean

Determines whether the booking is free or not.

recurrence
object

Determines the recurrence rules for the booking.

string

The _id of the member associated with the booking.

string

The _id of the company associated with the booking.

members
array of strings

An array containing a list of all the _ids of teammates associated with the booking. This is possible if the member associated with the booking is part of a company - these company members can be added here.

members
visitors
array of strings

An array containg a list of all the _ids of external visitors associated with the booking.

visitors
number

Used if you want to set a custom price for the booking and ignore the standard rate.

Response

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