Cancel service
The generic cancel for a hotel service in a booking. It takes a cancellation type, PROVIDER or MANUAL, and optional manual fees.
Before you call it
- Call Service cancellation fee with the same path values. It returns the fee and
supportedCancellationTypes[]. We recommend sending only a type listed there. - Get the guest's consent to the fee, as with Cancel.
- Verify
serviceIdin your test account. It is not documented that it equalshotelservice[].id.
After it
- Read the trip with Get booking. The hotel service should show
status: CANCELED, withcancelationDate(sic),providerCancellationDateandcancellationTypeset. - The guest's money is a separate step. See Refund.
Errors
The spec documents no error schema and no status codes. Treat any non-2xx response as a failure and keep the raw body and the trace id. A 404 means the reference doesn't exist (in this microsite).
This endpoint belongs to the generic Booking API. An API user enabled only for the hotel booking flow gets 401 with User … not allowed to access here. A new token won't help: ask your Nava account manager to enable it.
Related
- Service cancellation fee: the fee and the supported types
- Cancel: the per-accommodation cancel
- Cancellations guide
- Enums:
ServiceTypeandCancellationType
List bookings
List the bookings of one microsite by creation date, with optional filters on departure, update and cancellation dates, a reference and the user. Returns each booking's reference, status and creation date, so read the details with Get booking.
Service cancellation fee
The generic cancellation fee for a hotel service in a booking. Besides the fee, it returns the cancellation types the service supports and any related service with its own fee.