GDS Reservation Cancel API Reference
POST |
receipt/reservations/{LocatorCode}/receipts For {LocatorCode} send the locator code of the reservation to retrieve (returned in the workbench commit in Confirmation/Locator/value). Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Related Content: Booking Guide, Reservation Retrieve Guide
Canceling a GDS reservation requires a single cancel request as detailed here. A reservation is a held booking that has not been ticketed.
To cancel an NDC reservation, see the NDC Order Cancel API Reference.
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
To cancel a reservation, send a POST request that includes the reservation to cancel to the endpoint above. There is no message payload.
Response
Object |
Description |
---|---|
ReceiptListResponse |
Top level object for response. Includes ReceiptID object. |
ReceiptID |
Top level object for cancellation details. Key value pair:
|
Identifier |
Identifier details for this transaction. In this case, authority is always Travelport and value provides a system-generated internal idnetifier for the response. Key value pairs.
|
Cancellation |
Top level object for cancellation details.
Includes the Locator object. |
Locator |
Cancellation details of the canceled itinerary in the following key value pairs:
|
Example Request
There is no message payload.
Example Response
{
"ReceiptListResponse": {
"ReceiptID": [
{
"@type": "ReceiptCancellation",
"id": "receipt_1",
"Identifier": {
"authority": "Travelport",
"value": "bae9f140-ff5e-4685-b72f-70a6ef9beedd"
},
"Cancellation": {
"@type": "CancellationHold",
"Locator": {
"locatorType": "Locator",
"source": "1G",
"sourceContext": "Travelport",
"value": "0GM4S1"
}
}
}
]
}
}