Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 2.01 KB

File metadata and controls

40 lines (28 loc) · 2.01 KB

HotelSearchRequest

Properties

Name Type Description Notes
query String Optional hotel name or search query. Combine with location to scope the search. [optional]
location HotelSearchLocation [optional]
language String Search language as an ISO code or full language name. Defaults to en. [optional]
limit Integer Number of hotels to return. Defaults to 10. [optional]
checkIn String Check-in date. Date in YYYY-MM-DD format. [optional]
checkOut String Check-out date. Date in YYYY-MM-DD format. [optional]
currency String ISO 4217 currency code for prices, such as USD. [optional]
adults Integer Number of adult guests. [optional]
children List<Integer> Ages of children staying, used to refine availability and pricing. [optional]
stars List<Integer> Filter to hotels with these class ratings, such as [4, 5]. [optional]
minRating BigDecimal Filter to hotels with at least this guest rating. [optional]
sortBy SortByEnum Sort order for results. Defaults to relevance. [optional]
minPrice Integer Minimum price per night. [optional]
maxPrice Integer Maximum price per night. [optional]
freeCancellation Boolean When true, only return hotels offering free cancellation. [optional]
isVacationRentals Boolean When true, search vacation rentals instead of hotels. [optional]
amenities List<String> Filter to hotels offering these amenities, such as pool or free_wifi. [optional]

Enum: SortByEnum

Name Value
RELEVANCE "relevance"
LOWEST_PRICE "lowest_price"
HIGHEST_RATING "highest_rating"
MOST_REVIEWED "most_reviewed"