Hotels Workflow
All you need to know about the hotels booking flow.
For the Hotel API flow, the recommended sequence is as follows:
- Search for Destination → Search API
- Static content of hotel → Static Content API(Optional)
- Get Rooms and Rates of a hotel → Create Itinerary API
- Save Rooms and Rates → Select Room Rate API
- Get Itinerary Details→ Get Itinerary API (Optional: Can be called anytime after itinerary creation)
- Save Guest Details → Room Allocation API
- Price Check → Price Check API
- Booking → Book API
- Booking Details → Get Booking Details API(Optional: Can be used to get details of the booking)
- Cancel the booking → Cancel API(Optional: Can be used to cancel the booking)
Note: You should call the Price Check API after selecting the room and rate, following the steps outlined above.
Hotel APIs Domains
Sandbox URL | Production URL | APIs |
---|---|---|
https://hms-api-sandbox.travclan.com | https://hms-v1-tp.travclan.com | Use with "Search Hotels" API only |
https://hotel-api-sandbox.travclan.com | https://hotels-v1-tp.travclan.com | Use with all APIs except "Search Hotels" |
Updated about 1 month ago