BOOKING INITIATION OF THE SELECTED OFFER
POST /prepareAccommodationBook
POST /prepareAccommodationBook method is used to prepare selected accommodation offer for booking.
This method verifies if the price and availability of the chosen offer are relevant and returns “bookingKey” value if there are no errors and the offer is still available from a supplier.
Important note: the value of “bookingKey” parameter should be used for additional check of available payment options in case some conditions of the offer have been changed and in order to proceed to the booking complete.
If you need to add a service to an existing order, you should additionally set “orderId” parameter in POST /prepareAccommodationBook request, which can be obtained from the following methods: GET /orders (B2B-sales) or GET /ordersB2C (B2C-sales).