Add/Modify Offer Reference Payload API Reference
POST |
book/offer/reservationworkbench/{workbenchID}/offers/buildfromcatalogofferings For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response. Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Related Content:GDS Exchanges Guide, Cancel, Exchange, and Refund Options
Send the Add/Modify Offer request as part of the GDS ticket exchange process. The Add/Modify Offer reference payload sends identifiers from a preceding Exchange Search response to select an offer from those search results to modify the offer on the current itinerary. The system compares the existing itinerary with the new itinerary, deletes any flight segments no longer needed, and adds the new flight segments. Any unmodified segments remain as they are.
Send Add/Modify after using the JSON Exchange Eligibility and Exchange Search APIs to confirm eligibility and search for a new itinerary. After Add/Modify Offer, use the Exchange Ticketing APIs to either hold or ticket the modified itinerary.
The Add/Modify Offer reference payload request supports the automated exchange workflow, in which updates are made and new ticket/s issued using the JSON APIs, Manual exchanges, which ticket a modified itinerary after making updates outside the JSON APIs, are not supported.
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
Object |
Description |
Required/Optional |
---|---|---|
OfferQueryBuildFromCatalogOfferings |
Top level object. |
Required |
BuildFromCatalogOfferingsRequest |
Top level object. |
Required |
CatalogOfferingsIdentifier |
Top level object for transaction identifier from the Exchange Search response. |
Required |
CatalogOfferingsIdentifier/Identifier |
Transaction identifier from the Exchange Search response. |
Required |
|
Send value from CatalogOfferings/Identifier/value |
Required |
CatalogOfferingIdentifier |
Top level object for offer identifier from the Exchange Search response for the offer you want to exchange for. |
Required |
CatalogOfferingIdentifier/Identifier |
Offer identifier from the Exchange Search response. |
Required |
|
Send value from CatalogOffering/id |
Required |
Response
The response returns a confirmation identifier.
Object | Description |
---|---|
OfferListResponse |
Top level object. Includes OfferID object. |
OfferID |
Top level object. Includes Identifier object. |
Identifier |
Internal identifier for the response. Key value pairs:
|
Example Request
The response returns a confirmation identifier per below.
{
"OfferQueryBuildFromCatalogOfferings": {
"BuildFromCatalogOfferingsRequest": {
"@type": "BuildFromCatalogOfferingsRequestAir",
"CatalogOfferingsIdentifier": {
"Identifier": {
"value": "e03cb188-b221-42a1-80ef-5d42792d907c"
}
},
"CatalogOfferingIdentifier": {
"Identifier": {
"value": "o0.0"
}
}
}
}
}
Example Response
The response returns a confirmation identifier per below.
{
"OfferListResponse": {
"OfferID": [
{
"@type": "OfferIdentifier",
"Identifier": {
"authority": "Travelport",
"value": "0995bea0-602d-4572-b1ef-bbe1c6e44807"
}
}
]
}
}