Preview tour cancellation
getExperienceBookingCancelPreviewOverview
Preview the refund amount and cancellation fee for a booking before committing to cancel it.
When to Use
Cancellation confirmation screens - Show the guest exactly what they'll be refunded
Support tooling - Check whether a booking is still cancellable before offering a refund
What You Get
cancellable- Whether the booking can currently be cancelledpolicy-cancellationFee,refundAmount,refundType,estimateConfidence,currency,sellingPrice
Quick Start
Use this with the bookingId from POST /experiences/bookings. This does not cancel the booking - cancelExperienceBooking cancels it.
Error codes
Product-operation codes are listed below. Shared authentication/access/rate-limit middleware can return common codes such as 401, 40301 or 4290. HTTP status and error code are separate; do not parse message text.
Code | Meaning |
75001 | booking not found |
75002 | this booking has already been cancelled |
75003 | cancellation is not allowed for this booking |
75004 | the activity has already started |
75005 | invalid cancellation preview request |
75006 | cancellation preview provider request failed |
75007 | cancellation preview provider request timed out |
75008 | cancellation preview request is unauthorized |
75009 | cancellation preview request is forbidden |
75010 | cancellation preview service is temporarily unavailable |
75099 | failed to retrieve cancellation preview |
Requires the bookingId and the email used to book: the server only returns or changes a booking when they match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The email address used to make the booking. The server checks it against the booking before returning or changing anything. | ||
| lastName | No | The booking holder's last name, if the customer gives it. Optional. | |
| bookingId | Yes | MAQAMI experience booking ID from the booking confirmation |