v1

latestOpenAPI 3.1.02026-07-24558778.0 KB
Bookings

Cancel booking

Cancels the journeys in a previously created booking

post/bookings/{id}/cancel

Path parameters

idinteger required

The id of the booking to cancel

Headers

{"stackTrail":"paths:/bookings/{id}/cancel:post:parameters:1:schema","oasType":"schema","type":"unknown"}

The optional (ideally unique) request identifier used for later analysis or diagnostics

Request body

reason'NOT_NEEDED_ANYMORE' | 'DRIVER_NO_SHOW' | 'NO_AVAILABILITY' | 'ADDRESS_INVALID' | 'INSUFFICIENT_TRAVELLER_DETAILS' | 'TECHNICAL_ISSUE' | 'TRAVELLER_NO_SHOW' | 'PRICE_CALCULATION_ERROR' | 'STRIKE_OR_ROAD_CLOSURE' | 'NO_FLIGHT_NUMBER' | 'ADD_ON_ISSUE' | 'CANT_FULFILL_CUSTOMER_REQUEST' | 'PAX_BAGS_CONFIGURATION' | 'FORCE_MAJEURE' | 'OTHER' required
acceptChargesboolean

Response

OK

idinteger
codestring
partnerReferencestring
partnerIdinteger
travelIntent'BUSINESS' | 'LEISURE' | 'UNKNOWN'