Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Info |
---|
There are two different ways of providing the prices for an apartment. One is providing us with the daily rates, the other is using LOS (length of stay rates). Be aware that if you choose LOS we will not consider data sent to the endpoints RATES and AVAILABILITIES |
LOS Rates
The easiest and most flexible way of providing the prices for your properties is to push the length of stay rates .Instead of giving us a price per day and having us calculate what the final price for a stay would be -- or whether it should even be available considering restrictions -- you can (LOS).
You can directly give us the price for every possible length of stay (up to 60 nights) and occupancy (up to the max persons of the property), given a possible check-in date. In this way, we get the correct price from you and also we will avoid further calculation processes to compute the accurate final price of a stay. Besides this, by using the LOS you can let us know if a property is or is not available (hence you won’t use the AVAILABILITY endpoint).
How does it work?
Each entry must have:
the check-in date
the currency
the max amount of
guests for which the rates are applicable followed by a value set for every possible length of stay for the given check-in day.
A value of 0 means that it is not possible to
check out at this length.
You can provide the prices for up to a length of 60 days.
If you push less than 60 values, every missing value is considered as 0 and
therefore not available.
Example:
On the right side of the page, you can see an example of a possible LOS rate for the check-in day 2019-09-01.
The 0 in the price row indicates that the property is not available for a length of stay between 1 and 6 days
For a stay of 7 days, it would cost 120 EUR
The next available length of stay would be 14 days and so on
This price configuration is valid for up to 5 guests, if you have different prices for different
numbers of
guests, you have to send the prices for each
variable.
Please make sure to always provide a rate that is valid for the max amount of people allowed in the apartment.
Only
the check-in days that are
sent to us with prices will be
considered as available for check-in
It is not
possible to block a single day manually, you have to always push the full
LOS for the
property
You also have to
push the full data for one apartment in one call
It is not possible to modify the
LOS for a single check-in day or to add
information
If you push
LOS again for the same apartment, everything from the old data will be overwritten and only the last pushed data will be
considered.
Note |
---|
DiscountsRegarding discounts, you have two options |
:
Extra CostsYou still need to push us the extra costs separate from the |
LOS data in order to be correctly shown on holidu. |
Warning |
---|
AvailabilitiesEverything |
you PUSH to the AVAILABILITY endpoint will be overwritten by the information you |
send to the LOS endpoint. To sum up! → In case you use LOS instead of RATES there is no use in pushing data to the availability endpoint |
. |
Code Block | ||
---|---|---|
| ||
"los": { "2019-09-01": [ { "currency": "EUR", "guests": 5, "price": [ 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 0, 240, 0, 0, 0, 0, 0, 0, 360, 0, 0, 0, 0, 0, 0, 480 ] } ], |