Cancel a booking
cancel_bookingCancels a booking made through Bota. Without confirm it only returns the booking and whether it can be cancelled; with confirm=true it cancels it. Cancellation fees, if any, follow the company's terms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email the booking was made with. Required to prove the customer owns it. | ||
| confirm | No | true cancels the booking; omitted or false only previews it. | |
| language | No | Language of the conversation, BCP-47 (es, en, pt-BR, fr, de, it…). Defaults to 'en'. Bota also answers in the language the customer writes. | |
| company_id | Yes | Rental company id. | |
| booking_reference | Yes | Booking reference from the customer's confirmation email. |