Calculate prices for a resource
Query Parameters
The basePrice and totalPrice without the warrant costs bill will be returned when the value is set to true
Path Parameters
resourceId of accommodation type for which the total price needs to be calculated
Body Parameters
If the user pass the distributionChannel id in the request then the data will be filtered based on the provided id else the distributionChannel id will be taken from the token. If no distributionChannel id is passed neither the token contains the distributionChannel id valid error message will be thrown.
Specifies the categoryId of the reservation
The date on which customer/guest will arrive. Date should be added using ISO 8601 standard(yyyy-MM-dd)
The number of days starting from the arrivalDate for which the price range search has been carried out and the duration should be passed in days ex: 7.
Rate type id which will be used to fetch availability. If not provided, then the first rate type will be picked up from the rate types linked to distribution channel and ordered in ascending order of priority.
Unique code associated with offer on the bases of which accommodationtype is to be filtered
The details of the person accommodated in an accommodationtype
Show child attributes
Quantity of the pets for which search is to be made
Loyalty points to be used for the price calculation of the accommmodationtype
Response
Response Attributes
Accommodation type price + mandatory costs
The discount that is received through offer(s)
The discount that is received through loyalty
The total price including discounts (if no offer code is provided: cheapest option among open offers, otherwise price for requested offer code)