HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
contract_itinerary
The trip as purchased, with each slice's exercise eligibility and each segment's rebook eligibility and disruption. It doesn't change after a rebook; the rebooked flights are in that rebook's exercise. Populated on Get Contract and the contract webhooks; absent on Create Contract.
Fields
slicesThe slices of the trip as purchased, in purchase order.
Show fields
segmentsThe ordered list of segments that make up this slice.
Show fields
idBase64-encoded string of "=; treat the id as an opaque string.
origin_airportIATA airport code of origin.
[A-Z]{3}destination_airportIATA airport code of destination.
[A-Z]{3}departure_date_timeLocal date and time of departure, in ISO 8601 format.
arrival_date_timeLocal date and time of arrival, in ISO 8601 format.
cabinCabin of the segment.
economypremium_economybusinessfirstmarketing_carrier_codeIATA airline code of the marketing carrier for this segment.
[A-Z0-9]{2}marketing_flight_numberFlight number for the marketing carrier.
[0-9]{1,4}rebook_eligibilityWhether a rebook can start from this segment, with the search criteria when it can.
Show fields
Whether a rebook can start from this segment, with the search criteria when it can.
type:eligible (eligible) eligible
typevalue: eligible
search_criteriasThe searches HTS applies before shopping a rebook from this segment. Partners sourcing their own inventory must apply them so their rebook options match the HTS-sourced flow.
Show fields
ineligible (ineligible) ineligible
typevalue: ineligible
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]?$operating_carrier_codeIATA airline code of the operating carrier for this segment. Assumed to be the same as marketing_carrier_code if not set.
[A-Z0-9]{2}operating_flight_numberFlight number for the operating carrier. Assumed to be the same as marketing_flight_number if not set.
[0-9]{1,4}disruptionThe disruption on this segment. Absent when the segment has not been disrupted.
Show fields
The disruption on this segment. Absent when the segment has not been disrupted.
type:canceled (canceled) canceled
typevalue: canceled
delayed (delayed) delayed
typevalue: delayed
delay_minutesThe number of minutes the flight was delayed.
missed_connection (missed_connection1) missed_connection1
typevalue: missed_connection
fare_brandName of the brand for the fare of the slice.
exercise_eligibilityWhether this slice can be exercised, and how.
Show fields
Whether this slice can be exercised, and how.
type:eligible (eligible1) eligible1
typevalue: eligible
exercise_optionsThe ways the slice can be exercised.
ineligible (ineligible1) ineligible1
typevalue: ineligible
{
"slices": [
{
"segments": [
{
"id": "MDow",
"origin_airport": "YUL",
"destination_airport": "SFO",
"departure_date_time": "2026-11-15T08:00",
"arrival_date_time": "2026-11-15T11:15",
"cabin": "Economy",
"reservation_booking_designator": "Y",
"marketing_carrier_code": "AC",
"marketing_flight_number": "759",
"operating_carrier_code": "AC",
"operating_flight_number": "759",
"rebook_eligibility": {
"type": "string",
"search_criterias": []
},
"disruption": {
"type": "string"
}
}
],
"fare_brand": "Standard",
"exercise_eligibility": {
"type": "string",
"exercise_options": [
"payout"
]
}
}
]
}