hasAvailabilityInWindow
Efficiently checks whether a stay has ANY open booking window of a minimum length within a date range, without checking every single day. Use this to filter search results down to stays with real availability somewhere in the near future (e.g. 'available at all in the next 6 months for a month-long stay'), instead of calling checkStayAvailability repeatedly for individual dates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stayId | Yes | The unique identifier of the stay | |
| fromDate | Yes | Start of the search window, ISO format (YYYY-MM-DD). Usually today's date. | |
| windowDays | No | How many days forward from fromDate to search (default: 180, i.e. 6 months) | |
| minLengthOfStay | Yes | Minimum length of stay in days required (e.g. 30 for a month-long stay) |