Cancel booking
cancel_bookingCancel one booking or its whole recurring schedule, without a cancellation fee. Checks the store's cancellation rules first (a store that requires a reason gets the 'Other' reason with your text), then cancels as Cancel in the booking's sidebar does, with no fee. Nobody is told unless notify is true. Cancelled bookings leave list_bookings. Waits for the owner's approval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"booking_id": "<booking_id>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notify | No | Email the customer and providers about it. Default: false. | |
| reason | No | Why it is cancelled (kept on the booking). | |
| booking_id | Yes | Booking id from list_bookings. | |
| whole_schedule | No | Cancel the whole recurring schedule from this booking on. Default: false. |