API reference

HTS APIs

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

Schema

client_closed_request_error

Fields

error_code
string enum
required

Error returned when a client closes the connection before the response could be sent.

Values client_closed_request
description
string
required

A human-readable description of what happened. For booking requests, this may include the partner reference ID for tracking.

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
additional_context
object

Additional context about the error. For booking requests, includes partner_reference_id for tracking in BigQuery.

Used by

PUT/api/lodging/v1/contentGet lodgings content
PUT/api/lodging/v1/calendars/availabilityGet availability calendar for lodgings
PUT/api/lodging/v1/shopGet all room rates for a lodging
PUT/api/lodging/v1/shopFeedGet all room rates for given lodgings on a specific feed
PUT/api/lodging/v1/quoteGenerate a detailed quote for a lodging
POST/api/lodging/v1/bookBook a lodging
PUT/api/lodging/v1/getOrderRetrieve a booking order
PUT/api/lodging/v1/preCancelPre-Cancel a booking order
POST/api/lodging/v1/cancelCancel a booking order
PUT/api/lodging/v1/reviewsGet lodging reviews
Example
{
  "error_code": "client_closed_request",
  "description": "string",
  "response_id": "123e4567-e89b-12d3-a456-426614174000",
  "additional_context": {}
}