cancel_booking
Cancels the signed-in person's booking, or only the parts listed in component_ids. Call it only after preview_booking_change has shown the person the cancellation terms and they agreed. It asks each provider and reports each part's own outcome: report a cancellation only when the result says it happened. If the outcome is unknown, check get_updates instead of calling again. Booking changes through an assistant are part of Trip Concierge. With Trip Concierge, you can change, rebook or cancel your bookings through whichever way you prefer — Autonomad's concierge, your own autonomous agent, or an assistant like ChatGPT, Claude or Muse. On a trip without Trip Concierge this returns concierge_required and nothing changes; the person can make the change themselves in My Trips on autonomad.ai. Needs the bookings:cancel permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note from the person about the cancellation. Up to 4000 characters. | |
| quote_ids | No | For flights: the cancel quote the person was shown, as { component_id: refund_quote.quote_id } from preview_booking_change. Without it (or if a newer quote exists) nothing is canceled and a fresh quote comes back to show them. | |
| reference | Yes | The booking reference the person was given (e.g. ANM-1A2B3C4D), or the trip id. | |
| component_ids | No | Only these parts of the booking (ids from preview_booking_change). Omit for all. |