API reference

HTS APIs

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

Schema

error

Fields

error
error_detail
required
Show fields
code
string
required

A machine-readable snake_case string for programmatic handling.

Example parameter_missing
message
string
required

A human-readable description for the developer.

Example The 'passengers' parameter is required to create a booking.
param
string

The specific request parameter that caused the error.

Example passengers

Used by

PUT/shoppingSearch for flights
POST/offerPriceConfirm fare availability and ancillaries
PUT/seatAvailabilityGet seat maps for a quoted offer
PUT/offerConditionsGet amenities, UTAs, and policies for offers
POST/orderCreateCreate a booking and trigger ticketing
PUT/orderRetrieveRetrieve an order
PUT/orderReshopGet cancel and exchange eligibility, or shop for exchange offers
POST/orderCancelConfirm order cancellation
POST/orderChangeConfirm flight exchange
Example
{
  "error": {
    "code": "parameter_missing",
    "message": "The 'passengers' parameter is required to create a booking.",
    "param": "passengers"
  }
}