Overview
In order to book a hotel room, booking flow methods must be executed sequentially: search, quote and book.
These methods must be executed sequentially:
-
Search: The starting point of the flow. Here you request availability based on specific criteria such as hotel code, dates, and number of guests. The response returns a list of options โ rates provided by different Suppliers โ including details like price, board, room type, and policies.
-
Quote: Once youโve selected an option from the Search response, this step allows you to revalidate it. The Quote call confirms the most up-to-date price, policies, and availability for the chosen option before proceeding to booking.
-
Book: The final step of the flow. This call confirms the reservation with the Supplier and returns the booking details and confirmation information.
๐๏ธ Search
The Search operation is the first step in our booking flow. Its purpose is to check availability for the requested date range and number of guests, either for specific hotels or for hotels in a selected destination. It returns a comprehensive list of available options based on your search criteria.
๐๏ธ Quote
Quote operation evaluates the rate before booking, providing the same information as the Search response for a hotel rate, including up-to-date pricing and cancellation policies. The returned fields include:
๐๏ธ Book
The Book operation requests a booking confirmation for the specified optionId obtained from the Quote. It provides a concise summary of the option, along with the reservation status. Please note that the returned information may vary depending on the Seller. The returned fields include: