Reprice API Reference

POST

reprice/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.net/11/air/

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

Related Content: Exchange, Refund, and Void Guide

NDC only; not supported for GDS. See the Exchange, Refund, and Void Guide for GDS options.

When modifying a held booking or exchanging a ticket for NDC, the Reprice API confirms pricing on a selected offer from a preceding Reshop response and adds that offer to the workbench. Reprice is part of the NDC modify/exchange workflow: Create a post-commit workbench, Reshop to shop for the new itinerary, Reprice as detailed here, and Modify to commit the changes.

Reprice can also be used to return OB fees based on credit card BIN (bank identification number).

For GDS and NDC differences in the TripServices APIs, see the support tables for seats, ancillaries, fare rules, and exchanges/refunds, and the NDC and GDS Functionality Comparison.

For differences within NDC by individual carriers, see NDC capabilities by airline through TripServices API in the Travelport Knowledge Base. See Knowledge Base NDC Resources if you need login assistance.

Request

As part of the request requirements, also see Authentication and Common Flights API Headers.

Header Parameters

Parameter

Description

Required/Optional

OBFees

Send with the value Y only to process the reprice with the credit card BIN. Must be sent with the Reprice with Credit Card BIN payload below.

Optional

IsJsonAPICall

Send with the value Y to return the price difference between the selected offer and the amount originally paid for the ticket. The response includes a ModifyPrice object to itemize the price difference.

Optional

Query Parameters

None.

Request Body

Standard Reprice request

Use the following Reprice payload when you do not need to reprice with OB fees.

Reprice with credit card BIN

Use the following payload if you want to process the reprice to return any OB fees based on credit card BIN.

Response

The Reprice response uses the same format as the AirPrice Reference Payload API response, with the following differences:

  • OfferID is returned with @type value of OfferModify instead of Offer.

  • Price objects vary according to whether IsJsonAPICall=Y was sent in the header:

    • If IsJsonAPICall=Y was sent in the header, Price returns the price of this offer and does not account for any price difference between the offer and the amounts originally paid for the ticket. Instead, a ModifyPrice object is returned for the price differential.

    • If IsJsonAPICall=Y was not sent in the header, the amounts in the Price object follow the same behavior as in Reshop. The amounts do not return the price of the fare for this offer, but instead the price difference between the original itinerary and this specific offer. In Price/TotalPrice:

      • a positive number indicates the additional amount due for this offer
      • a zero amount indicates an even exchange
      • a negative number indicates this offer costs less than the original itinerary and a partial refund is due

Example Request

Example Response

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

The response returns details for the modified itinerary, a total price difference, and a breakdown of the fare difference by PTC for the selected offer.

In the following example, OB fees are returned in Price/PriceBreakdown/Fee and noted with feeCode OB. Certain other objects have been trunckated [...] for brevity.

In the following example, when the header IsJsonAPICall=Y is sent, the response includes ModifyPrice to show the price difference between the priced offer and the amount originally paid for the ticket.