Length of Stay Pricing vs Seasonal AvailabilityDo not send any availability data or blocked dates when using Length of Stay pricing. Your Length of Stay pricing should have your availability rules and blocked dates baked into the matrix. Any availability data sent will be ignored if sending pricing through Length of Stay pricing.
Format
How to send availability restrictions
If you'd like to send availability restrictions for a season, the format is below:
"seasonalAvailability": [
{
"startDate": "2022-11-10",
"endDate": "2022-12-10",
"minDaysBeforeCheckin": 0,
"changeOverDays": null,
"seasonalMinimumNights": 2
}
]Definitions
- Minimum Days Before Check-In = The minimum number of days before check-in that you will allow a booking to take place. This is sometimes referred to as a Restricted Booking Window.
- Change Over Days = The days you allow check-ins and the days you allow check-outs.
- Seasonal Minimum Nights = The minimum number of nights the length of a booking can be, set at a seasonal level.
Rules
1. Any restrictions that are excluded will take their default value.
| Property | Default Value |
|---|---|
| minDaysBeforeCheckin | 0 |
| checkInDays | null |
| checkOutDays | null |
| seasonalMinimumNights | 1 |
Overlapping seasons and DELETE
- Seasons can overlap. On the dates where they overlap, the season you sent last applies.
- A DELETE removes only the rules that are fully inside the date range you send. A rule that is only partly inside the range stays as it is. We do not shorten or split it.
- A minimum nights rule is removed only when its start date and end date are the same as the range you send.
- To change part of a season, send a new season for those dates.
