API reference

HTS APIs

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

Schema

create_flight_booking_request

Fields

price_quote_id
string
required

The ID of the price quote to book.

partner_booking_reference
partner_booking_reference

The partner's own booking reference (PNR) for a rebooked ticket it already issued. Send it when the partner booked the replacement flight itself, and HTS records this reference instead of issuing its own ticket; omit it when HTS issues the ticket. HTS determines from the price quote whether this field is required.

Show fields
pnrs
array of string
required

The PNR(s) of the partner-issued booking.

Items ≥ 1

Used by

POST/flight_bookingsCreate Flight Booking
Example
{
  "price_quote_id": "pq_abc123",
  "partner_booking_reference": {
    "pnrs": [
      "string"
    ]
  }
}