API reference

HTS APIs

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

Schema

order_status

Describes the status of a order.

  • confirmed - order was booked successfully
  • cancelled - order was cancelled successfully

This is a non-exhaustive list of enum values, which may be extended in the future."

Fields

Describes the status of a order.

  • confirmed - order was booked successfully
  • cancelled - order was cancelled successfully

This is a non-exhaustive list of enum values, which may be extended in the future."

Exactly one of the following, selected by type:
cancelled (order_status_cancelled) order_status_cancelled
type
string enum
required

Discriminator value for cancelled order status

Values cancelled · Example cancelled
cancellation_info
cancellation_info · one of 2
required

Information on a cancelled order

Show fields

Information on a cancelled order

Exactly one of the following, selected by type:
hotel (cancellation_info_hotel) cancellation_info_hotel
type
string enum
required

Discriminator value identifying this cancellation info type.

Values hotel
vacation_rental (cancellation_info_vacation_rental) cancellation_info_vacation_rental
type
string enum
required

Discriminator value identifying this cancellation info type.

Values vacation_rental
instigator
string enum
required

Indicates who initiated the cancellation.

Values guesthost · Example guest
guest_refund_amount
object

The amount refunded to the guest for the cancelled vacation rental

Show fields
currency
string
required

Currency code, in ISO 4217 format.

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

Monetary amount value Serialized BigDecimal value

Example 123.45
confirmed (order_status_confirmed) order_status_confirmed
type
string enum
required

Discriminator value for confirmed order status

Values confirmed · Example confirmed
Example
{
  "type": "cancelled",
  "cancellation_info": {
    "type": "hotel",
    "cancellation_datetime": "2025-02-17T18:31:15.523Z"
  }
}