Bookings
Edit an existing booking
Getting Started
Attendees
Availabilities
Booking References
Bookings
Credentials
Destination Calendars
Event Types
Memberships
Schedules
Selected Calendars
Teams
Users
Bookings
Edit an existing booking
PATCH
/
bookings
/
{id}
curl --request PATCH \
--url https://api.cal.com/v1/bookings/{id} \
--header 'Content-Type: application/json' \
--data '{
"title": "Debugging between Syed Ali Shahbaz and Hello Hello",
"start": "2023-05-24T13:00:00.000Z",
"end": "2023-05-24T13:30:00.000Z",
"status": "CANCELLED"
}'
{
"booking": {
"id": 11223344,
"userId": 182,
"description": null,
"eventTypeId": 2323232,
"uid": "stoSJtnh83PEL4rZmqdHe2",
"title": "Debugging between Syed Ali Shahbaz and Hello Hello",
"startTime": "2023-05-24T13:00:00.000Z",
"endTime": "2023-05-24T13:30:00.000Z",
"metadata": {},
"status": "CANCELLED",
"responses": {
"email": "[email protected]",
"name": "John Doe",
"location": {
"optionValue": "",
"value": "inPerson"
}
}
}
}
Authorizations
Path Parameters
ID of the booking to edit
Query Parameters
Your API key
Body
application/json
Edit an existing booking related to one of your event-types
The body is of type object
.
Response
200
application/json
OK, booking edited successfully
The response is of type any
.
Was this page helpful?
curl --request PATCH \
--url https://api.cal.com/v1/bookings/{id} \
--header 'Content-Type: application/json' \
--data '{
"title": "Debugging between Syed Ali Shahbaz and Hello Hello",
"start": "2023-05-24T13:00:00.000Z",
"end": "2023-05-24T13:30:00.000Z",
"status": "CANCELLED"
}'
{
"booking": {
"id": 11223344,
"userId": 182,
"description": null,
"eventTypeId": 2323232,
"uid": "stoSJtnh83PEL4rZmqdHe2",
"title": "Debugging between Syed Ali Shahbaz and Hello Hello",
"startTime": "2023-05-24T13:00:00.000Z",
"endTime": "2023-05-24T13:30:00.000Z",
"metadata": {},
"status": "CANCELLED",
"responses": {
"email": "[email protected]",
"name": "John Doe",
"location": {
"optionValue": "",
"value": "inPerson"
}
}
}
}