Update existing booking
Update existing booking
Required scopes: flex.space.bookings.update
Path parameters
booking id
organization slug
Query parameters
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.
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.
Request body
Example request
{
"properties": {
"customProperty1": "value1",
"customProperty2": "value2"
},
"start": "2024-10-31T13:00:00.000Z",
"end": "2024-10-31T13:00:00.000Z",
"resource": "603dfbc260f4054084125d36",
"description": "Meeting with John",
"title": "Quick meeting",
"isTentative": true,
"serviceSlots": {
"before": 10,
"after": 10
},
"extras": [
{
"_id": "603dfbc260f4054084125d39",
"count": 2
}
],
"isFree": true,
"recurrence": {
"rrule": "FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=10",
"exdates": [
"2024-10-31T13:00:00.000Z"
]
},
"member": "603dfbc260f4054084125d36",
"company": "603dfbc260f4054084125d36",
"members": [
"603dfbc260f4054084125d36",
"603dfbc260f4054084125d37"
],
"visitors": [
"603dfbc260f4054084125d36",
"603dfbc260f4054084125d37"
],
"customPrice": 25.5
}Response
Example response
{
"properties": {
"customProperty1": "value1",
"customProperty2": "value2"
},
"_id": "603dfbc260f4054084125d39",
"timezone": "Europe/London",
"start": "2024-10-31T13:00:00.000Z",
"end": "2024-10-31T13:30:00.000Z",
"recurrence": {
"rrule": "FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=10",
"exdates": [
"2024-10-31T13:00:00.000Z"
]
},
"seriesStart": "2024-10-31T13:00:00.000Z",
"seriesEnd": "2024-10-31T13:30:00.000Z",
"location": "603dfbc260f4054084125d39",
"company": "603dfbc260f4054084125d39",
"member": "603dfbc260f4054084125d39",
"resource": "603dfbc260f4054084125d39",
"fees": [
{
"date": "2017-10-31T00:00:00.000Z",
"extraFees": [],
"credits": [
{
"count": 2,
"credit": "594932ea518f3f150d306c89"
}
],
"customPrice": 100
}
],
"reference": "81LCV6S",
"title": "Meeting with John",
"rate": "603dfbc260f4054084125d39",
"description": "Meeting with John at the office.",
"isTentative": true,
"extras": [
{
"_id": "603dfbc260f4054084125d39",
"count": 2
}
],
"visitors": [
"603dfbc260f4054084125d36",
"603dfbc260f4054084125d37"
],
"members": [
"603dfbc260f4054084125d36",
"603dfbc260f4054084125d37"
],
"serviceSlots": {
"before": 10,
"after": 10
},
"source": "admin",
"createdAt": "2022-02-07T10:03:33.169Z",
"createdBy": "5bbb155174321f100085eac1",
"modifiedAt": "2022-02-08T10:03:33.169Z",
"modifiedBy": "5bbb155174321f100085eac1"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.