API reference

HTS APIs

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

Schema

cancellation_response

Response for the cancellation operation

Fields

status
one of 4
required

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."

Show 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
response_id
string · uuid
required

Unique identifier of the specific response. Use this identifier when you need to refer to a specific response, when requiring technical support.

Example 123e4567-e89b-12d3-a456-426614174000
Example
{
  "status": {
    "type": "cancelled",
    "cancellation_info": {
      "cancellation_datetime": "2025-02-17T18:31:15.523Z"
    }
  },
  "response_id": "123e4567-e89b-12d3-a456-426614174000"
}