HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
offer_conditions
Amenities, UTAs, and policies for a single offer, broken down per slice. When the token cannot be decoded or the upstream lookup fails, the error field describes the problem and the slices field is omitted.
Fields
tokenThe token that was used to look up these conditions.
slicesPer-slice conditions. Each entry corresponds to a slice from the shopping response, identified by slice_id.
Show fields
slice_idSlice identifier matching the shopping or orderReshop response.
sli_0amenitiesFlight amenities for this slice.
Show fields
descriptionHuman-readable description of the amenity.
Streaming Capable Wi-Ficategoryseatwifipowerentertainmentfresh_foodbeveragelayoutaircraft · Example wifiassessmentQualitative assessment of a fare attribute or policy.
neutralbenefitrestrictionfee · Example benefitutasShow fields
descriptionDetailed explanation of the attribute.
First checked bag up to 23kg is included in your fare.categoryadvance_changeboarding_prioritycancellationcarry_on_allowancecheck_in_prioritychecked_bag_allowancelounge_accesssame_day_changeseat_selectionupgrade_eligibilityrefundable_farepersonal_item · Example checked_bag_allowanceassessmentQualitative assessment of a fare attribute or policy.
neutralbenefitrestrictionfee · Example benefitchange_policyChange or cancellation policy with time-based breakdown.
Show fields
before_departureA single change or cancellation policy.
Show fields
descriptionDetailed policy explanation.
assessmentQualitative assessment of a fare attribute or policy.
neutralbenefitrestrictionfee · Example benefitfeeA fee associated with a policy.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDamountFee amount as a decimal string.
75.00refund_methodHow the refund will be issued to the customer.
original_form_of_payment: Refund to the original payment method.voucher: Airline-issued travel voucher or future travel credit.
original_form_of_paymentvoucher · Example original_form_of_paymentafter_departureA single change or cancellation policy.
Show fields
descriptionDetailed policy explanation.
assessmentQualitative assessment of a fare attribute or policy.
neutralbenefitrestrictionfee · Example benefitfeeA fee associated with a policy.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDamountFee amount as a decimal string.
75.00refund_methodHow the refund will be issued to the customer.
original_form_of_payment: Refund to the original payment method.voucher: Airline-issued travel voucher or future travel credit.
original_form_of_paymentvoucher · Example original_form_of_paymentanytimeA single change or cancellation policy.
Show fields
descriptionDetailed policy explanation.
assessmentQualitative assessment of a fare attribute or policy.
neutralbenefitrestrictionfee · Example benefitfeeA fee associated with a policy.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDamountFee amount as a decimal string.
75.00refund_methodHow the refund will be issued to the customer.
original_form_of_payment: Refund to the original payment method.voucher: Airline-issued travel voucher or future travel credit.
original_form_of_paymentvoucher · Example original_form_of_paymentcancellation_policyChange or cancellation policy with time-based breakdown.
Show fields
before_departureA single change or cancellation policy.
Show fields
descriptionDetailed policy explanation.
assessmentQualitative assessment of a fare attribute or policy.
neutralbenefitrestrictionfee · Example benefitfeeA fee associated with a policy.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDamountFee amount as a decimal string.
75.00refund_methodHow the refund will be issued to the customer.
original_form_of_payment: Refund to the original payment method.voucher: Airline-issued travel voucher or future travel credit.
original_form_of_paymentvoucher · Example original_form_of_paymentafter_departureA single change or cancellation policy.
Show fields
descriptionDetailed policy explanation.
assessmentQualitative assessment of a fare attribute or policy.
neutralbenefitrestrictionfee · Example benefitfeeA fee associated with a policy.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDamountFee amount as a decimal string.
75.00refund_methodHow the refund will be issued to the customer.
original_form_of_payment: Refund to the original payment method.voucher: Airline-issued travel voucher or future travel credit.
original_form_of_paymentvoucher · Example original_form_of_paymentanytimeA single change or cancellation policy.
Show fields
descriptionDetailed policy explanation.
assessmentQualitative assessment of a fare attribute or policy.
neutralbenefitrestrictionfee · Example benefitfeeA fee associated with a policy.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDamountFee amount as a decimal string.
75.00refund_methodHow the refund will be issued to the customer.
original_form_of_payment: Refund to the original payment method.voucher: Airline-issued travel voucher or future travel credit.
original_form_of_paymentvoucher · Example original_form_of_paymenterrorPer-token error when the token is invalid or the upstream lookup fails.
Show fields
codeA machine-readable snake_case string for programmatic handling.
parameter_missingmessageA human-readable description for the developer.
The 'passengers' parameter is required to create a booking.paramThe specific request parameter that caused the error.
passengers{
"token": "string",
"slices": [
{
"slice_id": "sli_0",
"amenities": [
{
"category": "wifi",
"description": "Streaming Capable Wi-Fi",
"assessment": "benefit"
}
],
"utas": [
{
"description": "First checked bag up to 23kg is included in your fare.",
"category": "checked_bag_allowance",
"assessment": "benefit"
}
],
"change_policy": {
"before_departure": {
"description": "string",
"assessment": "benefit",
"fee": {
"currency": "USD",
"amount": "75.00"
},
"refund_method": "original_form_of_payment"
},
"after_departure": {
"description": "string",
"assessment": "benefit",
"fee": {
"currency": "USD",
"amount": "75.00"
},
"refund_method": "original_form_of_payment"
},
"anytime": {
"description": "string",
"assessment": "benefit",
"fee": {
"currency": "USD",
"amount": "75.00"
},
"refund_method": "original_form_of_payment"
}
},
"cancellation_policy": {
"before_departure": {
"description": "string",
"assessment": "benefit",
"fee": {
"currency": "USD",
"amount": "75.00"
},
"refund_method": "original_form_of_payment"
},
"after_departure": {
"description": "string",
"assessment": "benefit",
"fee": {
"currency": "USD",
"amount": "75.00"
},
"refund_method": "original_form_of_payment"
},
"anytime": {
"description": "string",
"assessment": "benefit",
"fee": {
"currency": "USD",
"amount": "75.00"
},
"refund_method": "original_form_of_payment"
}
}
}
],
"error": {
"code": "parameter_missing",
"message": "The 'passengers' parameter is required to create a booking.",
"param": "passengers"
}
}