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 successfullycancelled- order was cancelled successfullypending- order is pendingfailed- 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 successfullycancelled- order was cancelled successfullypending- order is pendingfailed- 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
typestring enum
required
Values
cancelled · Example cancelledcancellation_infoobject
required
Information on a cancelled order
Show fields
cancellation_datetimestring · date-time
required
The ISO 8601 datetime of when this order is cancelled.
Example
2017-08-17T13:31:15.523ZVariant 2 object
typestring enum
required
Values
confirmed · Example confirmedVariant 3 object
typestring enum
required
Values
pending · Example pendingVariant 4 object
typestring enum
required
Values
failed · Example failedExample
{
"type": "cancelled",
"cancellation_info": {
"cancellation_datetime": "2025-02-17T18:31:15.523Z"
}
}