GDS PNR Cancel API Reference
A PNR can be canceled prior to ticketing. For a GDS itinerary, send a POST request with the record locator.
The segment or segments are then canceled; however, the PNR can still be retrieved. The PNR retrieve response in this case returns the traveler or travelers but no offer details.
Canceling a PNR for NDC is not supported in AirReservation v6.
In this topic:
PNR Cancel - GDS
Query Parameters
None.
POST Request
Send the POST request to the following resource:
POST receipt/reservations/{PNR}/receipts
Base path:
Pre-production https://api.pp.travelport.com/6/air/
Production https://api.travelport.com/6/air/
Payload
None.
Response
The PNR Cancel response returns a confirmation and status. The table below details the objects returned in the PNR Cancel response and notes differences between models v6 and v9.
Object | Description |
---|---|
ReceiptListResponse |
Top level object for response. Includes ReceiptID object. |
ReceiptID |
Top level object for cancellation details. Contains the following attribute:
|
Identifier |
Contains the following attributes:
|
ConfirmationLocator |
Contains the following attributes:
|
StatusDetail |
Confirmation status. Contains the following attributes:
|
POST receipt/reservations/{workbenchID}/receipts?OfferIdentifer/{offerID}/