API reference

HTS APIs

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

Schema

product

Describes a bookable rate. Differentiates between two rates for the same room.

Fields

meal_plan
string enum
required

Describes a meal plan. Also known as board. This is a non-exhaustive list of enum values, which will be extended in the future.

  • room_only: No meals are included
  • all_inclusive: Includes Breakfast, Lunch, Dinner, Snacks and Drinks
  • full_board: Includes Breakfast, Lunch, Dinner. Snacks and Drinks are usually not included
  • half_board: Includes 2 of the following: Breakfast, Lunch, Dinner. Usually Breakfast and another meal. Drinks are usually not included.
  • breakfast: Includes Breakfast
  • lunch: Includes Lunch
  • dinner: Includes Dinner
  • breakfast_for_one: Includes Breakfast for one guest
  • breakfast_for_two: Includes Breakfast for two guests
Values room_onlyall_inclusivefull_boardhalf_boardbreakfastlunchdinnerbreakfast_for_onebreakfast_for_two · Example room_only
refundability
string enum
required

Whether the rate is refundable or not. This is a non-exhaustive list of enum values, which will be extended in the future.

  • fully_refundable: The rate is fully refundable from the time of the booking until the check-in time.
  • non_refundable: The rate is not refundable.
  • partially_refundable: The rate is either refundable for a period of time or partially refunds the amount or both.
Values fully_refundablenon_refundablepartially_refundable · Example fully_refundable
experience
localizable_string

A LocalizableString object contains the text value and its associated locale. The value field is a required string with the actual text. The locale field is an optional string representing the language and region of the value. The locale is omitted when Hopper can't guarantee the language of the value.

Show fields
value
string
required

The actual text value, which can vary based on the locale.

Example Oceanside Hotel is a remarkable oasis boasting eye-catching design, luxurious amenities, and cozy stylishly furnished rooms. Each accommodation has white linens, plush beds, luxury Lady Primrose bath products, and a well-appointed decor. Guests can enjoy free WiFi, beach amenities, outdoor activities, and watersports. As the Miami sun warms your skin, retreat to our relaxing pool area with lounges or grab a bite at The Tavern, our full-service restaurant and bar, open for breakfast, lunch, and dinner. Whether you are visiting for business or pleasure, the Oceanside Hotel is an intimate boutique experience in Miami Beach.
locale
string

Locale code representing the language and regional variation of text content. This follows the IETF RFC 5646 standard for language tags, which provides a standardized way to identify languages.

Common examples:

  • "en-US" for U.S. English
  • "fr-FR" for French in France
  • "es-ES" for Spanish in Spain
  • "zh-CN" for Chinese in China
  • "ja-JP" for Japanese in Japan
Pattern ^[a-z]{2,4}(-[A-Z][a-z]{3})?(-([A-Z]{2}|[0-9]{3}))?$ · Example en-US
loyalty
loyalty

Whether this rate may participate in the property's loyalty program, and which program.

Absent when we have nothing to say about loyalty for the rate. Where present with eligibility of unknown, we are reporting that we have no claim either way — never that the rate is ineligible.

Show fields
eligibility
string enum
required

Whether the supplier has indicated this rate plan may participate in the property's loyalty program.

  • eligible: the rate may participate in the property's loyalty program.
  • unknown: no claim either way. Never present this to a guest as "no points on this rate" — a supplier that says nothing is not saying the rate is ineligible.
Values eligibleunknown · Example eligible
program_code
string

The program the rate may earn points in. Present whenever eligibility is eligible; absent when we have no claim, since there is no program to name.

Show fields
Object with no documented fields · The program the rate may earn points in. Present whenever `eligibility` is `eligible`; absent when we have no claim, since there is no program to name.
Example
{
  "meal_plan": "room_only",
  "refundability": "fully_refundable",
  "experience": {
    "value": "Oceanside Hotel is a remarkable oasis boasting eye-catching design, luxurious amenities, and cozy stylishly furnished rooms. Each accommodation has white linens, plush beds, luxury Lady Primrose bath products, and a well-appointed decor. Guests can enjoy free WiFi, beach amenities, outdoor activities, and watersports. As the Miami sun warms your skin, retreat to our relaxing pool area with lounges or grab a bite at The Tavern, our full-service restaurant and bar, open for breakfast, lunch, and dinner. Whether you are visiting for business or pleasure, the Oceanside Hotel is an intimate boutique experience in Miami Beach.\n",
    "locale": "en-US"
  },
  "loyalty": {
    "eligibility": "eligible",
    "program_code": {}
  }
}