Bookings
Cancel experience booking
Overview
Cancel a confirmed experience booking and trigger any applicable refund.
When to Use
- Guest-initiated cancellation - After the guest confirms via the cancel-preview screen
What You Get
- status - Booking status after cancellation
- providerStatus - Raw upstream provider status, when available
- refund - Present when a refund was calculated; refundPending indicates it hasn't settled yet
Quick Start
POST with the bookingId from POST /experiences/bookings. Call GET /experiences/bookings/{bookingId}/cancel-preview first to show the guest the refund amount.
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 |
|---|---|
| 75101 | booking not found |
| 75102 | this booking has already been cancelled |
| 75103 | cancellation is not allowed for this booking |
| 75104 | the activity has already started |
| 75105 | invalid cancellation request |
| 75106 | cancellation provider request failed |
| 75107 | cancellation provider request timed out |
| 75108 | cancellation request is unauthorized |
| 75109 | cancellation request is forbidden |
| 75110 | cancellation service is temporarily unavailable |
| 75199 | failed to process cancellation |
post/experiences/bookings/{bookingId}/cancel
Request
- Base URLhttps://api.liteapi.travel/v3.0
- URLhttps://api.liteapi.travel/v3.0/experiences/bookings/{bookingId}/cancel
- AuthAPI key in header X-API-Key
Path parameters
bookingIdstring required
LiteAPI booking ID returned from POST /experiences/bookings
Response
Booking cancelled
Example response
{
"data": {
"bookingId": "444fe833-a84e-49b4-ae9f-b032c8619419",
"status": "cancelled",
"providerStatus": "CANCELLED",
"refundPending": true,
"refund": {
"refundAmount": 45.5,
"refundType": "full",
"estimateConfidence": "high",
"currency": "EUR",
"sellingPrice": 45.5
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.