The functionality supported by `AreaInfo` and `HotelInfo > RelativePositions` are soon to sunset
Booking.com is deprecating the functionality of specifying/retrieving nearby attractions and the property's relative position information using AreaInfo
and HotelInfo > RelativePositions
as of March 15, 2023, and will sunset on June 30, 2023. Booking.com automatically generates the nearby places and the property's relative position information. Please see [the deprecation policy documentation][property-area-info] for more details.
Price
Multiple ancestors
Price
is a descendant of:
Service
Fields
Field | Description | Type | Min/max | Notes |
---|---|---|---|---|
Service/Price | price details. | object | 0..1 | - |
Price /@NumberOfUnits | Number of items for this price rate. | integer | 0..1 | It will existing for addons and instay serices. |
Price /Total | The total price for this price rate. | object | 0..1 | |
Price /Base | The unit price for this price rate | object | 0..1 | |
Price /RateDescription | Text description for the price rate | object | 0..1 |
XML
<Price NumberOfUnits="18"> <Total CurrencyCode="EUR" AmountAfterTax="54" /> <Base CurrencyCode="EUR" Type="per person / per night" AmountAfterTax="3"/> <RateDescription> <Text>per person / per night</Text> </RateDescription> </Price>
This documentation section contains an API solution that is soon to sunset. You can still access the section by clicking the expand icon.
Route
Fields
Field | Description | Type | Min/max | Notes |
---|---|---|---|---|
Route/Price | Travel price details. | object | 0..1 | - |
Price /@Amount | The estimated price of the journey, in @CurrencyCode . | real | 0..1 | - |
Price /@CurrencyCode | The currency code. | currencycode | 0..1 | - |
XML
<Price
Amount='5.5'
CurrencyCode='EUR' />