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

apiKey
string
query
required

Path Parameters

id
integer
required

ID of the booking to edit

Query Parameters

apiKey
string
required

Your API key

Body

application/json
Edit an existing booking related to one of your event-types
title
string

Booking event title

start
string

Start time of the Event

end
string

End time of the Event

status
string

Acceptable values one of ["ACCEPTED", "PENDING", "CANCELLED", "REJECTED"]

description
string

Description of the meeting

Response

200
application/json
OK, booking edited successfully

The response is of type any.