Price Rooms and Rates

The Price API is used to fetch the final price of the selected rooms/rates from the RoomRates API response before proceeding with the booking. This API is crucial because the rate information for a particular hotel is fetched dynamically, and there is a chance that the price may be updated at the hotel end. Therefore, it is essential to update the user with the latest price before proceeding with the booking.

Price API Details:
HTTP Method: GET
Endpoint: {baseEndpoint}/api/v1/hotels/{{hotelId}}/price?rateIds={{rateId1}}&rateIds={{rateId2}}&roomsResponseToken={{roomToken}}

FAQs

Do I need to make the Price API call before the booking step?
Yes, this step is mandatory before the book API call.

Does the price gets updated every time we make this API call?
It depends upon the supplier/provider as stated earlier all the calls made via the ZentrumHub API to the supplier are dynamic and we do not cache any data.

Error Codes

Error CodeError Message
401'{{Field}}' must not be empty.
4004The hotel you selected is sold out
4005The price for the selected room has changed
4006The rate you trying to price has expired. Please try again with new room rates call.
500Your request failed due to an unknown system error. Please contact support team with the correlationId.