v1

latestOpenAPI 3.0.02026-08-061029011.1 MB
NDC Modify Cancel Exchange

Standalone Reprice

NDC only; not supported for GDS. Not supported for all NDC carriers. Use the Standalone Reprice API to reprice an itinerary on a held booking for NDC. Standalone Reprice can be sent before or after the price guarantee expires. This request would typically be used to check if the price has changed before issuing a ticket. You can then either ticket the itinerary or hold the booking again. Standalone Reprice must be sent in a workbench session. It must be followed by a Modify request to commit the workbench and either ticket or hold the itinerary. If you want to ticket at Modify, send Form of Payment and Payment before Modify. For supporting NDC carriers, see NDC Carrier Support in the developer documentation.

post/air/reprice/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromoffer

Path parameters

ReservationResource_Identifierstring required
Example:49f58f5f-c443-43b4-9f5d-be405fd00a01

The Reservation Identifier

Headers

TraceIdstring
Example:TraceID_123456789

Identifier used to correlate Air API invocations across a multi-call business flows.

XAUTH_TRAVELPORT_ACCESSGROUPstring
Example:19Y88702-C27A-4E5D-829A-89D7016688B1

Identifies the Travelport access group with which the caller is associated

travelportPlusSessionIdentifierstring
Example:49f58f5f-c443-43b4-9f5d-be405fd00a01

travelportPlusSessionIdentifier used to maintain an established agency session

TVP-PCC-Corestring
Example:DU7_1G

Allows user to pass PCC instead of Access Group ID

Request body

@typestring required
priceHistoricalOfferIndboolean

If true, the new Offer should be priced using the original Offer create date.

priceHistoricalTaxIndboolean

if true, the taxes in the new Offer should be priced using the original Offer create date.

priceHistoricalFeeIndboolean

if true, the fees in the new Offer should be priced using the original Offer create date.

inhibitBrandContentIndboolean

If true, brand information will not be returned

lowFareFinderIndboolean

Provides pricing flexibility around class of service. If not sent, the response returns fares only in the requested class of service. If true, returns the lowest fares available in any class of service available, which may not be the same as the requested class. Note that if lowFareFinderInd is sent with true and CabinPreference is sent, the only supported value for CabinPreference/type is Permitted. When lowFareFindInd=true and brand attributes are not disabled (inhibitBrandContentInd), AirPrice uses only the brand tier (and any other pricing modifiers) to find the lowest fare within a brand tier regardless of class of service. GDS only; not supported for NDC.

lowFareFindAndRebookIndboolean

If true, a new Offer will replace the referenced Offer with the lowest available fare. Flight products are rebooked.

validateInventoryIndboolean

Sets whether to validate inventory in the requested class of service. If true, checks for availability for the requested number of passengers in the requested class of service at the time of the price request. If there are fewer seats than requested passengers available in that class of service, AirPrice does not return any offers and instead returns an error message that the booking class or preference is not available. This reduces failures at the Add Offer and Workbench Commit steps. GDS only; not supported for NDC, as NDC carriers already validate inventory at pricing.

MaxNumberOfUpsellsToReturninteger

Example request

{
  "@type": "OfferQueryBuildFromOffer",
  "BuildFromOffer": {
    "@type": "BuildFromOffer",
    "OfferIdentifier": {
      "id": "offer_1",
      "offerRef": "offer_1",
      "Identifier": {
        "value": "A0656EFF-FAF4-456F-B061-0161008D7C4E",
        "authority": "TVPT"
      }
    },
    "ProductIdentifier": [
      {
        "id": "product_1",
        "productRef": "product_1",
        "Identifier": {
          "value": "A0656EFF-FAF4-456F-B061-0161008D7C4E",
          "authority": "TVPT"
        }
      }
    ],
    "PassengerCriteria": [
      {
        "@type": "PassengerCriteria",
        "number": 1,
        "age": 26,
        "passengerTypeCode": "ADT",
        "birthDate": "2020-01-16",
        "id": "passengercriteria_001",
        "CustomerLoyalty": [
          {
            "value": "132456",
            "id": "Loyalty_1",
            "priority": 2,
            "programId": "HY",
            "programName": "Frontier-EarlyReturns",
            "supplierType": "Hotel",
            "supplier": "UA",
            "tier": "Silver",
            "shareWithSupplier": [
              "[\"AF\",\"KL\"]"
            ],
            "cardHolderName": "John Smith",
            "validatedInd": true,
            "prefix": "Dr",
            "given": "John",
            "middle": "Wilkinson",
            "surname": "Smith"
          }
        ],
        "TravelerGeographicLocation": {
          "value": "PMI",
          "travelerGeographicLocationType": "City",
          "generalLargeFamilyResidentDiscountInd": true,
          "specialLargeFamilyResidentDiscountInd": true
        },
        "specifiedPassengerTypeCodeOnlyInd": true
      }
    ],
    "PaymentCriteria": {
      "@type": "PaymentCriteria",
      "IssuerIdentificationNumber": "123456",
      "PaymentCardCode": "VI",
      "DocumentNumber": [
        {
          "value": "1259900123456",
          "documentIssuer": "BA",
          "documentType": "Ticket",
          "passengerTypeCode": "ADT"
        }
      ],
      "FlightPass": [
        {
          "@type": "FlightPass",
          "accountNumber": "0140851633093",
          "supplier": "AC",
          "Description": [
            "FlightPass"
          ],
          "TravelerIdentifierRef": [
            {
              "uris": [
                "google.com"
              ]
            }
          ]
        }
      ],
      "agencyAccountInd": true,
      "bspInd": true,
      "cashInd": true,
      "invoiceInd": true
    }
  },
  "CabinPreference": {
    "@type": "CabinPreference",
    "preferenceType": "Preferred",
    "cabins": [
      "Economy"
    ],
    "legSequence": [
      1,
      2
    ]
  },
  "CustomResponseModifiersAir": {
    "@type": "CustomResponseModifiersAir",
    "BrandAttributeInclusion": [
      {
        "@type": "BrandAttributeInclusion",
        "legSequence": [
          1,
          2
        ],
        "Classification": [
          "CarryOn"
        ]
      }
    ],
    "SearchRepresentation": "Leg",
    "excludePenaltiesInd": true,
    "excludeBaggageFeesInd": true,
    "includeFareCalculationInd": true,
    "excludeSurchargesInd": true,
    "excludeUnbundledFaresInd": true,
    "includeCO2EmissionsDataInd": true,
    "includeFlightAmenitiesInd": true,
    "includeUniversalProductAttributesInd": true,
    "includeBundledAncillariesInd": true
  },
  "PricingModifiersAir": {
    "@type": "PricingModifiersAir",
    "currencyCode": "GBP",
    "FareSelection": {
      "@type": "FareSelection",
      "fareType": "PrivateFaresOnly",
      "RefundOptions": {
        "@type": "RefundOptions",
        "refundTypes": [
          "Refundable"
        ],
        "RefundPenaltyRange": {
          "@type": "RefundPenaltyRange",
          "Minimum": {
            "@type": "AmountPercentAmount",
            "application": "Full"
          },
          "Maximum": {
            "@type": "AmountPercentAmount",
            "application": "Full"
          }
        }
      },
      "ChangeOptions": {
        "@type": "ChangeOptions",
        "changeTypes": [
          "Changeable"
        ],
        "ChangePenaltyRange": {
          "@type": "ChangePenaltyRange",
          "Minimum": {
            "@type": "AmountPercentAmount",
            "application": "Full"
          },
          "Maximum": {
            "@type": "AmountPercentAmount",
            "application": "Full"
          }
        }
      },
      "FareQualifier": [
        {
          "value": "Consolidator"
        }
      ],
      "FareQualiferString": [
        "Tour"
      ]
    },
    "OrganizationInformation": {
      "@type": "OrganizationInformation",
      "OrganizationIdentifier": [
        {
          "value": "JBD123456",
          "supplier": "AA",
          "organizationCodeType": "Account",
          "segmentSequenceList": [
            1,
            2,
            3
          ],
          "productRef": [
            "product_1"
          ],
          "accountCodeFaresOnlyInd": true
        }
      ],
      "GSTRegistrationNumber": [
        {
          "value": "07AAGFF2194N1Z1",
          "telephone": "222-222-222",
          "address": "1122 sample trail, CO, USA, 21232",
          "country": "IND",
          "companyName": "Adecco",
          "email": "sample@adecco.com"
        }
      ]
    },
    "TaxExemption": {
      "@type": "TaxExemption",
      "countries": [
        "GB",
        "MX"
      ],
      "taxCodes": [
        "US"
      ],
      "allTaxesExemptInd": true
    },
    "PromotionalCode": [
      {
        "value": "CDFRT",
        "supplierCode": "AA"
      }
    ],
    "SellCity": "NYC",
    "TicketCity": "NYC",
    "PricingPCC": "0Bx3",
    "MultiPricingAgency": [
      "[\"0XS4\",\"0YBZ\",\"J80K\"]"
    ],
    "TicketingPCC": "0XS4",
    "CalculatedFareAdjustment": {
      "@type": "CalculatedFareAdjustmentDiscount"
    },
    "ManualFareAdjustment": [
      {
        "@type": "ManualFareAdjustmentIncrease",
        "passengerTypeCodes": [
          "ADT",
          "CHD"
        ]
      }
    ],
    "BrandPreference": [
      {
        "@type": "BrandPreference",
        "brandTier": 1,
        "legSequence": [
          1,
          2
        ]
      }
    ],
    "splitPaymentOfferings": 25
  },
  "priceHistoricalOfferInd": true,
  "priceHistoricalTaxInd": true,
  "priceHistoricalFeeInd": true,
  "inhibitBrandContentInd": true,
  "lowFareFinderInd": true,
  "lowFareFindAndRebookInd": true,
  "validateInventoryInd": true,
  "MaxNumberOfUpsellsToReturn": 4
}

Response

Created - 201

Example response

{
  "OfferResponse": {
    "@type": "response",
    "transactionId": "49f58f5f-c443-43b4-9f5d-be405fd00a01",
    "traceId": "TraceID_123456",
    "Result": {
      "@type": "Result",
      "status": "Complete",
      "Error": [
        {
          "@type": "ErrorDetail",
          "StatusCode": 200,
          "Message": "No flights found.",
          "NameValuePair": [
            {
              "value": "Sunday",
              "id": "6",
              "name": "Day1"
            }
          ]
        }
      ],
      "Warning": [
        {
          "@type": "WarningDetail",
          "StatusCode": 200,
          "Message": "Customer Loyalty could not be applied.",
          "NameValuePair": [
            {
              "value": "Sunday",
              "id": "6",
              "name": "Day1"
            }
          ]
        }
      ]
    },
    "Identifier": {
      "value": "A0656EFF-FAF4-456F-B061-0161008D7C4E",
      "authority": "TVPT"
    },
    "NextSteps": {
      "id": "5",
      "NextStep": [
        {
          "value": "www.resourcelocation.com",
          "id": "2",
          "action": "cancel",
          "description": "remove offer from the order"
        }
      ]
    },
    "ReferenceList": [
      {
        "@type": "ReferenceListFlight"
      }
    ],
    "CurrencyRateConversion": [
      {
        "SourceCurrency": {
          "value": "USD",
          "codeAuthority": "ISO 4217",
          "decimalPlace": 4,
          "decimalAuthority": "ISO 4217"
        },
        "TargetCurrency": {
          "value": "USD",
          "codeAuthority": "ISO 4217",
          "decimalPlace": 4,
          "decimalAuthority": "ISO 4217"
        },
        "ConversionRate": {
          "rateAuthority": "ISO 4217",
          "rateAsOf": "2026-08-07T12:12:00Z"
        }
      }
    ],
    "Pagination": {
      "@type": "Pagination",
      "page": 1,
      "pageSize": 20,
      "totalPages": 5,
      "totalItems": 100
    }
  }
}