API reference

HTS APIs

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

Schema

quote_failure

Fields

error_code
string enum
required

Error codes for the quote operation. This is a non-exhaustive list of enum values, which will be extended in the future.

  • token_application_mismatch - the quote_token could not be shown to belong to the calling application. A funnel must be completed by the application that started it: shop, quote and book must all be called with the API key of that same application. Returned when the token belongs to a different application, when it carries no application binding, and when the calling application cannot be determined; the description says which.
Values invalid_inputinvalid_quote_tokenquote_token_expiredrate_unavailableunauthorizedtoken_application_mismatch
description
string
required

A human-readable description of the error.

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

Used by

PUT/api/lodging/v1/quoteGenerate a detailed quote for a lodging
Example
{
  "error_code": "invalid_input",
  "description": "string",
  "response_id": "123e4567-e89b-12d3-a456-426614174000"
}