API reference

HTS APIs

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

Schema

condition_slice

Conditions for a single slice (journey leg).

Fields

slice_id
string
required

Slice identifier matching the shopping or orderReshop response.

Example sli_0
amenities
array of condition_amenity

Flight amenities for this slice.

Show fields
Array of condition_amenity · Flight amenities for this slice.
description
string
required

Human-readable description of the amenity.

Example Streaming Capable Wi-Fi
category
string enum
Values seatwifipowerentertainmentfresh_foodbeveragelayoutaircraft · Example wifi
assessment
string enum

Qualitative assessment of a fare attribute or policy.

Values neutralbenefitrestrictionfee · Example benefit
utas
array of condition_uta
Show fields
Array of condition_uta
description
string
required

Detailed explanation of the attribute.

Example First checked bag up to 23kg is included in your fare.
category
string enum
Values advance_changeboarding_prioritycancellationcarry_on_allowancecheck_in_prioritychecked_bag_allowancelounge_accesssame_day_changeseat_selectionupgrade_eligibilityrefundable_farepersonal_item · Example checked_bag_allowance
assessment
string enum

Qualitative assessment of a fare attribute or policy.

Values neutralbenefitrestrictionfee · Example benefit
change_policy
condition_multi_policy

Change or cancellation policy with time-based breakdown.

Show fields
before_departure
condition_policy

A single change or cancellation policy.

Show fields
description
string
required

Detailed policy explanation.

assessment
string enum

Qualitative assessment of a fare attribute or policy.

Values neutralbenefitrestrictionfee · Example benefit
fee
condition_fee

A fee associated with a policy.

Show fields
currency
string
required

ISO 4217 currency code

Length ≥ 3, ≤ 3 · Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Fee amount as a decimal string.

Example 75.00
refund_method
string enum

How 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.
Values original_form_of_paymentvoucher · Example original_form_of_payment
after_departure
condition_policy

A single change or cancellation policy.

Show fields
description
string
required

Detailed policy explanation.

assessment
string enum

Qualitative assessment of a fare attribute or policy.

Values neutralbenefitrestrictionfee · Example benefit
fee
condition_fee

A fee associated with a policy.

Show fields
currency
string
required

ISO 4217 currency code

Length ≥ 3, ≤ 3 · Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Fee amount as a decimal string.

Example 75.00
refund_method
string enum

How 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.
Values original_form_of_paymentvoucher · Example original_form_of_payment
anytime
condition_policy

A single change or cancellation policy.

Show fields
description
string
required

Detailed policy explanation.

assessment
string enum

Qualitative assessment of a fare attribute or policy.

Values neutralbenefitrestrictionfee · Example benefit
fee
condition_fee

A fee associated with a policy.

Show fields
currency
string
required

ISO 4217 currency code

Length ≥ 3, ≤ 3 · Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Fee amount as a decimal string.

Example 75.00
refund_method
string enum

How 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.
Values original_form_of_paymentvoucher · Example original_form_of_payment
cancellation_policy
condition_multi_policy

Change or cancellation policy with time-based breakdown.

Show fields
before_departure
condition_policy

A single change or cancellation policy.

Show fields
description
string
required

Detailed policy explanation.

assessment
string enum

Qualitative assessment of a fare attribute or policy.

Values neutralbenefitrestrictionfee · Example benefit
fee
condition_fee

A fee associated with a policy.

Show fields
currency
string
required

ISO 4217 currency code

Length ≥ 3, ≤ 3 · Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Fee amount as a decimal string.

Example 75.00
refund_method
string enum

How 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.
Values original_form_of_paymentvoucher · Example original_form_of_payment
after_departure
condition_policy

A single change or cancellation policy.

Show fields
description
string
required

Detailed policy explanation.

assessment
string enum

Qualitative assessment of a fare attribute or policy.

Values neutralbenefitrestrictionfee · Example benefit
fee
condition_fee

A fee associated with a policy.

Show fields
currency
string
required

ISO 4217 currency code

Length ≥ 3, ≤ 3 · Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Fee amount as a decimal string.

Example 75.00
refund_method
string enum

How 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.
Values original_form_of_paymentvoucher · Example original_form_of_payment
anytime
condition_policy

A single change or cancellation policy.

Show fields
description
string
required

Detailed policy explanation.

assessment
string enum

Qualitative assessment of a fare attribute or policy.

Values neutralbenefitrestrictionfee · Example benefit
fee
condition_fee

A fee associated with a policy.

Show fields
currency
string
required

ISO 4217 currency code

Length ≥ 3, ≤ 3 · Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Fee amount as a decimal string.

Example 75.00
refund_method
string enum

How 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.
Values original_form_of_paymentvoucher · Example original_form_of_payment
Example
{
  "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"
    }
  }
}