AirPrice Full Payload API Reference

POST

price/offers/buildfromproducts

Base path:

Pre-production https://api.pp.travelport.com/11/air/

Production https://api.travelport.com/11/air/

Related Content: Air Pricing Guide, AirPrice Reference Payload API Reference

The AirPrice API confirms pricing on air search results. While air pricing is generally an optional but recommended step, it is required for low cost carriers and some NDCClosed New Distribution Capability, an XML standard for exchanging data that supports airlines in distributing their content directly to online travel agencies. See the NDC Guide. carriers.

This API reference documents the full payloadClosed In the JSON APIs, an API call that sends all details of the flight/s to be shopped, priced, added to the workbench, etc. instead of sending a reference to an offer in a previous API response. request, which sends full itineraryClosed The entire trip on a booking, including all flights on all legs. Also called a journey. details without a reference to any previous search. This request can be used to price an itinerary returned from the Search API or from a non-Travelport source.

The AirPrice full payload request is supported for NDC on only the following carriers: AA, UA, QF. See the NDC Guide for details.

Request

Query Parameters

None.

Request Body

Basic AirPrice Request - Full Payload

PricingModifiersAir (optional pricing modifiers)

Response

The AirPrice response is the same for both reference and full payload requests. See the AirPrice Reference Payload API Reference for the response table.

See the Air Pricing Guide for response layout diagrams and description.

Example Request

For additional examples and scenarios, download the developer toolkits and see Using Postman and Developer Toolkits.

The following round-trip full payload request includes the optional CustomerLoyalty object for sending frequent traveler details.

The following one-way request includes the SellCity pricing modifierClosed A modifier that refines the API request based on fare and ticketing options and not the travel itself; sent in the PricingModifiersAir object. See the Air Shopping Guide for a list., supported only for GDS.

The following request sends MaxNumberOfUpsellsToReturn with a value of 2 to request two upsells in addition to pricing specific to the requested class of booking. Supported only for NDC in the AirPrice full payload.

Example Response

The AirPrice response is the same for both reference and full payload requests. See the AirPrice Reference Payload API Reference for an example response without upsells. The exception is that upsells can be returned for NDC if requested, per below.

NDC AirPrice response with upsells example

Generally, both the full and reference payload AirPrice responses return pricing specific only to the class of booking in the request; i.e., pricing of one single offer. Air Offer 25.11.52.1 added the ability to request upsells for NDC only. The example response below returns pricing on the requested offer plus two upsells for a total of three priced offers.