Post By Booking Id Cancel
Authentication
AuthorizationBearer
JWT token from @etera-ai/auth package (auth.etera.dev) - Format: Bearer <token>
Path parameters
bookingId
Unique identifier for the booking
Query parameters
reason
Cancellation reason (can also be provided in request body). Can be an enum value or free text.
other_reason
Additional details when reason is ‘OTHER’ (can also be provided in request body).
Request
This endpoint expects an object.
reason
Cancellation reason (can also be provided as query parameter). Can be an enum value (TICKETS_NOT_RECEIVED, CHANGE_OF_TRAVEL_PLANS, MODIFY_EXISTING_RESERVATION, FOUND_CHEAPER_OPTION_ELSEWHERE, OTHER) or free text. If OTHER is used, provide other_reason for details.
other_reason
Additional details when reason is ‘OTHER’ (can also be provided as query parameter). Recommended when using ‘OTHER’ enum value.
Response
This endpoint returns an object.
success
data
message
error
timestamp
