API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

multi_city

Fields

type
string
required

value: multi_city

slices
array of slice
required

The individual slices of the multi-city trip

Items ≥ 1
Show fields
Array of slice · The individual slices of the multi-city trip
Items ≥ 1
origin
string
required

IATA airport code of origin.

Pattern [A-Z]{3}
destination
string
required

IATA airport code of destination.

Pattern [A-Z]{3}
departure_date
string · date
required

Local date of departure from origin.

previous_slice_offer_id
string

Used 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.

Example
{
  "type": "string",
  "slices": [
    {
      "origin": "BOS",
      "destination": "LGA",
      "departure_date": "2024-04-22"
    }
  ],
  "previous_slice_offer_id": "string"
}