Skip to main content

HotelCriteriaSearchInput

Search criteria offers versatility in search options, with certain fields marked as mandatory (checkIn, checkOut, hotels etc.) and others as optional (language, currency, nationality etc.). This flexibility empowers you to create a personalized Search Query, tailoring the requested fields to your specific needs.

input HotelCriteriaSearchInput {
checkIn: Date!
checkOut: Date!
hotels: [String!]
destinations: [String!]
occupancies: [RoomInput!]!
language: Language
currency: Currency
nationality: Country
markets: [String!]
}

Fields

HotelCriteriaSearchInput.checkIn ● Date! non-null scalar

Check-in date for booking. Format: YYYY-MM-DD

HotelCriteriaSearchInput.checkOut ● Date! non-null scalar

Check-out for booking. Format: YYYY-MM-DD

HotelCriteriaSearchInput.hotels ● [String!] list scalar

Hotel Codes.

HotelCriteriaSearchInput.destinations ● [String!] list scalar

Destination codes.

HotelCriteriaSearchInput.occupancies ● [RoomInput!]! non-null input

For multi-room bookings, this array will contain multiple elements (rooms). For each room you have to specify its own occupancy.

HotelCriteriaSearchInput.language ● Language scalar

Language to be used in the request. If not set, the value saved in your Hotel-X API default settings will be used.

HotelCriteriaSearchInput.currency ● Currency scalar

Currency requested if supported by supplier. If not set, the value saved in your Hotel-X API default settings will be used.

HotelCriteriaSearchInput.nationality ● Country scalar

Nationality of the guest (use ISO3166_1_alfa_2). If not set, the value saved in your Hotel-X API default settings will be used.

HotelCriteriaSearchInput.markets ● [String!] list scalar

Targeted zones, countries or point-of-sale to be used in request (use ISO3166_1_alfa_2). If not set, the value saved in your Hotel-X API default settings will be used.