curl --request PATCH \
--url 'https://api.cal.com/v1/bookings/{id}?apiKey=' \
--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": "john.doe@example.com",
"name": "John Doe",
"location": {
"optionValue": "",
"value": "inPerson"
}
}
}
}curl --request PATCH \
--url 'https://api.cal.com/v1/bookings/{id}?apiKey=' \
--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": "john.doe@example.com",
"name": "John Doe",
"location": {
"optionValue": "",
"value": "inPerson"
}
}
}
}ID of the booking to edit
Your API key
Edit an existing booking related to one of your event-types
OK, booking edited successfully
Was this page helpful?