API reference/Bookings/Reschedule, change or cancel a booking
patchBookingsAPI key
Reschedule, change or cancel a booking
PATCH /client/v1/bookings/{externalRef}
Changes a booking you created through this API, addressed by your own external_ref. Bookings made on WhatsApp or in the CRM cannot be changed here.
Send only what changes. Moving starts_at, resource_id or quantity re-checks the slot (409 SLOT_FULL if it is not free). Set status to:
- cancelled - frees the slot. Final: a cancelled booking cannot be revived (400 BOOKING_INVALID); create a new one instead.
- completed or no_show - after the visit. They can be switched between each other.
Every change fires booking.updated (or booking.cancelled) to your webhook.
Path parameters
| Name | Type | Details |
|---|---|---|
| externalRef path | string required | The `external_ref` you sent when creating the booking (URL-encode it). |
Request body
| Field | Type | Details |
|---|---|---|
| starts_at | string · date-time optional | New start (must be the start of a free slot). |
| resource_id | integer optional | Move to a different staff member / room. |
| quantity | integer optional | New number of people / places, 1–100. |
| notes | string optional | Replace the notes (up to 2000 characters). |
| status | string optional | Move the booking to this status.confirmedcancelledcompletedno_show |
| cancel_reason | string optional | Why it was cancelled (up to 255 characters). |
| meta | object optional | Replace the stored meta object. |
Content type: application/json
Responses
200The updated booking
{
"success": true,
"message": "Booking updated",
"data": {
"id": 91,
"number": "BK-000091",
"serviceId": 5,
"resourceId": 3,
"contactId": 412,
"leadId": null,
"service": {
"id": 5,
"name": "Consultation",
"kind": "appointment",
"booking_mode": "time_slot",
"location_text": "Main Street Clinic"
},
"resource": {
"id": 3,
"name": "Dr. Mehta"
},
"contact": {
"id": 412,
"name": "Asha",
"mobile_no": "919876543210"
},
"starts_at": "2026-11-03T05:00:00+00:00",
"ends_at": "2026-11-03T05:30:00+00:00",
"quantity": 1,
"token_number": null,
"status": "cancelled",
"source": "api",
"external_ref": "web-10234",
"amount": 500,
"currency": "INR",
"payment_reference_id": null,
"hold_expires_at": null,
"over_limit": false,
"notes": null,
"cancel_reason": "Customer changed plans",
"meta": {},
"confirmed_at": "2026-11-02T11:20:00+00:00",
"cancelled_at": "2026-11-02T12:00:00+00:00",
"createdAt": "2026-11-02T11:20:00+00:00",
"updatedAt": "2026-11-02T11:20:00+00:00"
}
}400Validation error (`VALIDATION_ERROR`, with `details` per field), or a status change that is not allowed (`BOOKING_INVALID`)
{
"success": false,
"message": "Validation failed",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "starts_at",
"message": "starts_at must be an ISO 8601 date-time, e.g. 2026-11-03T10:30:00+05:30"
}
]
}401Missing, invalid or revoked API key
{
"success": false,
"message": "API key is not valid",
"code": "API_KEY_INVALID"
}402The workspace's trial or paid plan has ended (`PLAN_EXPIRED`)
{
"success": false,
"status": false,
"message": "Your plan has expired. Renew your plan to continue.",
"code": "PLAN_EXPIRED",
"data": {
"code": "PLAN_EXPIRED",
"status": "expired",
"ends_at": "2026-10-31T18:29:59.000Z"
}
}404No booking created through the API with this `external_ref` (`BOOKING_NOT_FOUND`)
{
"success": false,
"message": "Booking not found.",
"code": "BOOKING_NOT_FOUND"
}409`SLOT_FULL` - nothing is free at that time (taken, outside working hours, on leave, too soon, too far ahead, or the service is closed). `CUSTOMER_LIMIT` - this customer is already at their per-day or active-booking limit; `details.existing` is the booking in the way.
{
"success": false,
"message": "That time was just taken. Please pick another slot.",
"code": "SLOT_FULL",
"details": {
"starts_at": "2026-11-03T05:00:00+00:00"
}
}429More than 60 requests per minute for this API key
{
"success": false,
"message": "Too many requests for this API key. Retry in a minute.",
"code": "RATE_LIMITED"
}