Workflow

Workflow: Property Booking Process



  1. Initiate Search: Begin by using the Check Availability method by radius/rectangle or a list of property IDs to receive a list of available properties matching the criteria. Optionally pass session_id generated on your side to save search parameters for the Get Offers method.

  2. Retrieve Property Details (Optional): Use the property_id with the Retrieve Property Details method to access detailed property information. This step is optional but provides static property information (descriptions, policies, images, etc.)

  3. Get Offer ID: Call the Get Offers API with mandatory fields property_id and session_id to retrieve an offer_id. This returns pricing options for payment methods. Contact product support at [email protected] for help selecting the best option.

  4. Validate Offer: Use the Validate Offer Price API with the offer_id to get accurate pricing, cancellation policies, and a room_id. Prices from the Get Offers API may not be final.

  5. Create Order: Call the Create Order API with the session_id and property_id from step 3, plus the offer_id and room_id from step 4. A successful response returns a new order_id.

  6. Book Order: Use the Book Order method with the order_id from step 5 to complete the booking with the supplier. This asynchronous process returns a successful response when the booking request is received, changing the room status to processing_booking. Use Get Order Details method to track status change to booked.

  7. Monitor Booking Status: Regularly check the booking status and payment details using the Get Order Details method.