Confirm a hotel rate and lock it

Takes the booking_token of a room variant from /hotels/search (or /hotels/get-rooms), re-checks availability and price, and opens a booking session for /hotels/create-booking. Returns the confirmed price, whether it changed, the room, the cancellation policy and the guest fields required. Show the policy to the customer before collecting guests.

post/hotels/prepare-booking

Request

  • Base URL: https://www.fareeagle.com/api/v1
  • URL: https://www.fareeagle.com/api/v1/hotels/prepare-booking
  • Auth: none declared

Request body

booking_tokenstring required

From a hotel search result

Response

session id (booking_session), confirmed_price, price_changed and difference, hotel, room, is_refundable, cancellation policy, guests fields required, session_expires_in seconds

Changes

No recorded changes to this operation across all 1 revision of this API.