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 NDC carriers.

This API reference documents the full payload request, which sends full itinerary 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.

For differences between GDS and NDC in the JSON APIs, see the support tables for seats, ancillaries, fare rules, and exchanges, and the NDC and GDS Functionality Comparison.
For differences within NDC by individual carriers, see NDC capabilities by airline through JSON API in the Travelport Knowledge Base. If you need login assistance, see Knowledge Base NDC Resources.

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 modifier, 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, and only in the full payload request, by sending MaxNumberOfUpsellsToReturn set to the number of upsells to return. The example response below returns pricing on the requested offer plus two upsells for a total of three priced offers.