Change a booking
modify_bookingChange the slot or quantity (改時間、改人數) of a pending, awaiting_payment or confirmed booking, when the customer asks to. Replaces the booking's time or quantity and frees the old place. Use a slot value from get_availability. A booking paid online can change its slot but not its quantity (cancel and rebook instead). Changes close at the same cutoff as online cancellation.
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": {
"business_id": "<business_id>",
"booking_id": "<booking_id>",
"status_token": "<status_token>"
},
"name": "modify_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | New slot value from get_availability | |
| quantity | No | New number of people or places | |
| booking_id | Yes | booking_id returned by request_booking | |
| business_id | Yes | business_id from search_businesses | |
| status_token | Yes | status_token returned once by request_booking | |
| idempotency_key | No | Optional key (8–64 letters, digits, _ . : -) that makes retries safe: the same key with the same parameters returns the original result |