...
Code Block |
---|
"losRecords": { "los": { "CHECK-IN_DATE": [ { "price": [ PRICE_FOR_1_NIGHT, PRICE_FOR_2_NIGHTS, PRICE_FOR_3_NIGHTS, PRICE_FOR_4_NIGHTS ], "currency": "EUR", "maxOccupancy": MAX_NUMBER_OF_GUESTS } ] } } |
The
los
object contains a list of available
...
check-in dates. Each
CHECK-IN_DATE
has an array of price objects based on the max number of guests.The number of prices in the
price
list indicates the number of nights possible to book from the
...
check-in date.
Example:
Code Block |
---|
"2022-04-26": [ { "price": [ 0, 80, 120, 150 ], "currency": "EUR", "maxOccupancy": 2 }, { "price": [ 0, 90, 130, 160 ], "currency": "EUR", "maxOccupancy": 3 } ] |
A 1-night stay on checkin check-in date
2022-04-26
is not possible since the price is 0A 2-nights stay on checkin check-in date
2022-04-26
costs 80 euros for 2 guests and 90 euros for 3 guests. Similarly for 3 and 4 nights.Max stay for this checkin date is 4 nights.
Sync Frequency
To ensure the latest listing availability and prices, partners should regularly poll the pricing updates. The pricing updates API can be polled up to the interval specified in the Rate limiting. We recommend that you poll it multiple times per minute to avoid overbookings. We also recommend reconfirming the availability of the property before processing the new booking. This can be done by fetching the same price update for specific listing & unit type as shown above.
...