Skip to main content
Service BookingsVersion: v3

Update Service Booking

PUT/calendars/services/bookings/{bookingId}

Update an existing service booking

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:calendars/events.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

bookingIdstringrequired

Unique Service Booking ID

Example:IkqiJlXJ7o9h61tCHHod

Query Parameters

overrideAvailabilityboolean

If true the time slot validation would be avoided for any booking creation/update (even the skipSchedulingNotice)

Default:false
Example:false
skipSchedulingNoticeboolean

If set to true, the minimum scheduling notice and date range would be ignored

Default:false
Example:false

Body

serviceLocationIdstring

Service Location ID

Example:65e5f6dfacf123513228d384
meetingLocationstring

Meeting Location (If service location is an ask the booker, then the meeting location is required)

Example:123 Main St, Anytown, USA
titlestring

Title

Example:Service Appointment
statusstring

Status

Available optionsconfirmedcancelledinvalidnewshowednoshow
Example:confirmed
startTimestring

Start Time

Example:2021-06-23T03:30:00+05:30
endTimestring

End Time

Example:2023-09-25T16:30:00+05:30
timezonestring

Timezone

Example:America/New_York
servicesobject[]

If provided, services sent in the request will replace the existing services in the booking.

Example
[
  {
    "id": "a3b4c5d6e7f8901234567890",
    "staffId": "8MkU36Wps2w5bRbuGtw3"
  }
]

Response

Booking updated successfully

bookingIdstringrequired

Booking ID

Example:7NkT25Vor1v4aQatFsv2
locationIdstringrequired

Location ID

Example:0007BWpSzSwfiuSl0tR2
contactIdstringrequired

Contact ID

Example:9NkT25Vor1v4aQatFsv2
serviceLocationIdstringrequired

Service Location ID

Example:65e5f6dfacf123513228d384
titlestringrequired

Service Booking Title

Example:John Doe - Hair Styling
startTimestringrequired

Start Time

Example:2023-09-25T16:00:00+05:30
endTimestringrequired

End Time

Example:2023-09-25T16:30:00+05:30
servicesobject[]required

Services

timezonestringrequired

Timezone

Example:America/New_York
statusstringrequired

Status

Example:confirmed
deletedbooleanrequired

Tells if the booking is deleted

Example:false
dateAddedstringrequired

Date Added

Example:2023-09-25T16:00:00+05:30
dateUpdatedstringrequired

Date Updated

Example:2023-09-25T16:00:00+05:30
createdByobjectrequired

Booking booked by metadata

meetingLocationstring

Meeting Location (If service location is an ask the booker, then the meeting location is used for the booking)

Example:123 Main St, Anytown, USA
messagesarray[]

Optional informative or warning messages (e.g. meeting location ignored for non-ask-booker locations)

Example:["Meeting location is not supported for the selected service location and has been ignored."]