HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
trip
The type of trip the customer is shopping for. This field should only be sent when synthetic fares are being created for partial itineraries which are merchandised slice by slice in the partner's booking flow. Itineraries are assumed by default to be complete, so there is no need to pass the trip type when creating a synthetic fare for the full itinerary.
Fields
The type of trip the customer is shopping for. This field should only be sent when synthetic fares are being created for partial itineraries which are merchandised slice by slice in the partner's booking flow. Itineraries are assumed by default to be complete, so there is no need to pass the trip type when creating a synthetic fare for the full itinerary.
type:multi_city (multi_city) multi_city
typevalue: multi_city
slicesThe individual slices of the multi-city trip
Show fields
originIATA airport code of origin.
[A-Z]{3}destinationIATA airport code of destination.
[A-Z]{3}departure_dateLocal date of departure from origin.
previous_slice_offer_idUsed when the partner's booking flow is merchandised one slice at a time. When generating synthetic fares for the first slice, this field should be empty. If the customer has chosen a synthetic fare for the prior slice, the CFAR offer id of the chosen synthetic fare should be stored and passed back into this field when generating synthetic fares for the next slice. The final output will be an offer for the entire itinerary, progressively built from each of the slice selections.
one_way (one_way) one_way
typevalue: one_way
originIATA airport code of origin.
[A-Z]{3}destinationIATA airport code of destination.
[A-Z]{3}departure_dateLocal date of departure from origin.
round_trip (round_trip) round_trip
typevalue: round_trip
originIATA airport code of origin.
[A-Z]{3}destinationIATA airport code of destination.
[A-Z]{3}departure_dateLocal date of departure from origin.
return_dateLocal date of return from destination.
previous_slice_offer_idUsed when the partner's booking flow is merchandised one slice at a time. When generating synthetic fares for the outgoing slice, this field should be empty. If the customer has chosen a synthetic fare for the outgoing slice, the CFAR offer id of the chosen synthetic fare should be stored and passed back into this field when generating synthetic fares for the return slice. The final output will be an offer for the entire itinerary, progressively built from each of the slice selections.
{
"type": "string",
"slices": [
{
"origin": "BOS",
"destination": "LGA",
"departure_date": "2024-04-22"
}
],
"previous_slice_offer_id": "string"
}