Hotel API Guideline
This guide outlines the complete flow for integrating with the Hotel Distribution API.
Concept of Product Composition
Integration Flow
- Fetch hotel static data from
/api/v1/tourmind/hotels. - Show hotel details with
/api/v1/tourmind/hotels/{slug}when the user opens a hotel. - Use
/api/v1/tourmind/hotels/suggestionsto help users search by hotel name or destination. - Search available hotels with
/api/v1/tourmind/hotels/search. - Request live prices for selected hotel codes with
/api/v1/tourmind/hotels/search/prices. - Load rooms and rates from
/api/v1/tourmind/hotels/{slug}/rooms. - Send the selected rate to
/api/v1/unified-booking/checkoutto review the final booking details and price. - Confirm the booking with
/api/v1/unified-booking/checkout/confirm. - After booking success, continue with the Payment Request API.
Optional Content Endpoints
Use these endpoints when you need marketing or discovery content:
/api/v1/tourmind/hotels/popular-destinations/api/v1/tourmind/hotel-collections/api/v1/tourmind/recommended-hotels