HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
partner_supplied
The partner pushes its own rebook inventory. HTS skips fetching inventory and runs the supplied itineraries through the same eligibility, filtering, and ranking as the HTS-sourced flow. Gated per tenant: senders that are not allowlisted receive 422 partner_inventory_not_enabled.
Fields
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
origin_airportIATA code of the origin airport.
[A-Z]{3}destination_airportIATA code of the destination airport.
[A-Z]{3}departure_date_timeScheduled local departure date and time in ISO Local Date Time format.
arrival_date_timeScheduled local arrival date and time in ISO Local Date Time format.
marketing_carrier_codeIATA marketing carrier code.
[A-Z0-9]{2}marketing_flight_numberMarketing flight number.
[0-9]{1,4}cabinCabin class.
economypremium_economybusinessfirstoperating_carrier_codeIATA operating carrier code, present when the flight is operated by a different carrier.
[A-Z0-9]{2}operating_flight_numberOperating flight number, present when the flight is operated under a different number.
[0-9]{1,4}reservation_booking_designatorReservation Booking Designator (RBD) for this segment: the booking code the airline sold the seat under, one uppercase letter and an optional second letter or digit. Also known as booking class, booking code, class of service, or fare class (e.g. Y, B, M, Q, N, J, F, E1). Pass the code exactly as it appears on the ticket/PNR.
^[A-Z][A-Z0-9]?$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",
"raw_itineraries": [
{
"id": "itin_1",
"slices": [
{
"segments": [
{
"origin_airport": "YUL",
"destination_airport": "YYZ",
"departure_date_time": "2024-06-15T14:30",
"arrival_date_time": "2024-06-15T16:00",
"marketing_carrier_code": "AC",
"marketing_flight_number": 123,
"operating_carrier_code": "QK",
"operating_flight_number": 456,
"cabin": "Economy",
"reservation_booking_designator": "F"
}
],
"fare_brand": "Economy Flex"
}
],
"fare_price": {
"amount": "350.00",
"currency": "USD"
}
}
]
}