HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
service
A booked ancillary service attached to an order
Fields
idService identifier
svc_bag_checkedtypeService type
baggageseat · Example baggagequantityNumber of units purchased
1pricePrice information for an offer.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDbase_amountThe base fare amount before taxes as a decimal string.
120.00total_amountThe total amount as a decimal string (base_amount + taxes_and_fees).
150.00taxes_and_fees_amountThe total amount of taxes and fees as a decimal string.
30.00taxes_and_feesItemized taxes and fees breakdown.
Show fields
codeCharge code identifier (e.g., IATA tax/fee codes)
YQamountCharge amount as a decimal string
15.00segment_idsWhich segments this service applies to (present for seat services)
passenger_idsWhich passengers this service applies to
metadataMetadata for a baggage service
Show fields
typeService type discriminator
baggagebaggage_typeType of baggage
checkedcarry_on · Example checkedmaximum_weight_kgMaximum weight in kilograms
23{
"id": "svc_bag_checked",
"type": "baggage",
"quantity": 1,
"price": {
"currency": "USD",
"base_amount": "120.00",
"total_amount": "150.00",
"taxes_and_fees_amount": "30.00",
"taxes_and_fees": [
{
"code": "YQ",
"amount": "15.00"
}
]
},
"segment_ids": [
"string"
],
"passenger_ids": [
"string"
],
"metadata": {
"type": "baggage",
"baggage_type": "checked",
"maximum_weight_kg": 23
}
}