HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
inventory_source
Where to source the rebook inventory. Omit (or send type=hts) for standard HTS-sourced shopping. Send type=partner_supplied with raw_itineraries to shop the partner's own pushed inventory; this mode requires the tenant to be allowlisted.
Fields
Where to source the rebook inventory. Omit (or send type=hts) for standard HTS-sourced shopping. Send type=partner_supplied with raw_itineraries to shop the partner's own pushed inventory; this mode requires the tenant to be allowlisted.
type:hts (hts) hts
typevalue: hts
partner_supplied (partner_supplied) partner_supplied
typevalue: partner_supplied
raw_itinerariesThe partner-supplied itineraries to shop, in the same canonical shape HTS returns from this endpoint. The partner assigns each itinerary a unique id; that id is echoed back in the shop response and is the itinerary_id the partner sends when creating a flight price quote. Each itinerary must end at the final destination of the slice whose segment is disrupted: HTS rebooks through to the slice's final destination rather than replacing only the disrupted segment. For example, for an original slice A->B->C->D where the disrupted segment is B->C, rebook itineraries run from B to D, not B to C. Itineraries that do not end at the slice's final destination are rejected with 400 Bad Request. An empty list yields 204 No Content, the same as an empty HTS shop result. Each itinerary must carry a fare_price (amount and currency); HTS uses it to apply the rebook-allowance filter and to record the redemption amount.
Show fields
idUnique identifier for this itinerary.
slicesThe slices (legs) of this itinerary.
Show fields
segmentsThe segments in this slice.
Show fields
fare_brandName of the fare brand for this slice, if the source provides one.
fare_priceTotal price of the fare for this itinerary. Required on each partner-supplied raw itinerary: HTS uses it to apply the rebook-allowance filter and to record the redemption amount. Never present on itineraries in the shop response.
Show fields
amountTotal fare amount, including taxes. Must be greater than zero.
currencyCurrency of the fare amount, as an ISO 4217 code.
{
"type": "string"
}