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
  • pending - order is pending
  • failed - order processing has failed

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

Fields

Describes the status of a order.

  • confirmed - order was booked successfully
  • cancelled - order was cancelled successfully
  • pending - order is pending
  • failed - order processing has failed

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

Exactly one of the following, selected by type:
Variant 1 object
type
string enum
required
Values cancelled · Example cancelled
cancellation_info
object
required

Information on a cancelled order

Show fields
cancellation_datetime
string · date-time
required

The ISO 8601 datetime of when this order is cancelled.

Example 2017-08-17T13:31:15.523Z
Variant 2 object
type
string enum
required
Values confirmed · Example confirmed
Variant 3 object
type
string enum
required
Values pending · Example pending
Variant 4 object
type
string enum
required
Values failed · Example failed
Example
{
  "type": "cancelled",
  "cancellation_info": {
    "cancellation_datetime": "2025-02-17T18:31:15.523Z"
  }
}