View .mdDownload all for AI

flights.use_post_booking_request — Ticketed booking — use a post-booking request

HTTP status: 409
Retryable: no — change the request or the flow first

When it happens

A ticketed booking cannot be cancelled directly: the airline's refund or void conditions apply and must be quoted first.

What to do

Create a post-booking request (POST /flights/bookings/{id}/post-booking-requests) of type refund or void, wait for its quote, then accept it.

Example response

{
  "type": "https://quickota.com/developers/errors/flights.use_post_booking_request",
  "title": "Ticketed booking \u2014 use a post-booking request",
  "status": 409,
  "code": "flights.use_post_booking_request",
  "detail": "A ticketed booking cannot be cancelled directly: the airline\u0027s refund or void conditions apply and must be quoted first.",
  "suggestion": "Create a post-booking request (\u0060POST /flights/bookings/{id}/post-booking-requests\u0060) of type \u0060refund\u0060 or \u0060void\u0060, wait for its quote, then accept it.",
  "retryable": false,
  "requestId": "req_7f3a2c9e41d0b8a6c5e21f90"
}

See Errors for how to handle errors in general.