> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: About Wix Rentals Availability

## Article: About Wix Rentals Availability

## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/rentals/about-wix-rentals-availability.md

## Article Content:

# About Wix Rentals Availability

In [Wix Rentals](https://dev.wix.com/docs/api-reference/business-solutions/rentals/introduction.md), availability comes from the resources connected to a service, not from staff members. Wix combines each resource's working hours with the events already on its calendar, then offers the customer only the periods that fit the service's duration range.

Wix Rentals uses the [Time Slots V2](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction.md) API to expose that availability. The calls you make depend on the service's unit type.

## Resources and resource types

A rental service is bookable through [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction.md) such as rooms, vehicles, and equipment. To set this up, create a [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction.md), connect the individual resources to it, and then set the service's `primaryResourceType` to that resource type's ID.

Each resource has its own working hours and its own [business location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction.md). When a service has several resources, Wix assigns an available one at booking time.

## Resource schedules

A resource's schedule shapes both its availability and the number of bookings a reservation creates:

- Resources with working hours: A resource might be bookable from 9 AM to 6 PM. Availability stays in those hours, and events outside them don't affect it. For a daily service, each working day is a separate bookable unit, so a multi-day reservation creates 1 booking per day.
- 24/7 resources: These resources have no working hours. Wix calculates availability per calendar day, from midnight to midnight, and consecutive days form 1 unbroken block. A multi-day reservation therefore creates a single booking covering the full range. Wix doesn't enforce pickup and return times in the day, so you communicate those expectations to customers separately.

The service's unit type and the resource's schedule together determine every downstream call. The following table summarizes the 3 combinations:

| Unit type | Resource schedule | Availability calls | Bookings created | Calendar events | How to cancel |
| --- | --- | --- | --- | --- | --- |
| Hourly | Any | List Availability Time Slots, then List Availability Time Slot End Options | 1 booking covering the selected range | 1 event | Cancel Booking |
| Daily | Working hours | List Availability Time Slots with `timeSlotsPerDay` set to `1` | 1 booking per working day, linked in a group | 1 event per day | Cancel Multi Service Booking |
| Daily | 24/7 | List Availability Time Slots with `timeSlotsPerDay` set to `1` | 1 booking covering the full date range | 1 all-day event | Cancel Booking |

Learn more about [how each path maps to the Bookings APIs](https://dev.wix.com/docs/api-reference/business-solutions/rentals/wix-rentals-and-the-bookings-apis.md#bookings).

## Hourly availability

For an hourly rental, the customer selects a start time first and then a length:

1. Call [List Availability Time Slots](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/list-availability-time-slots.md) to get the available start times. Wix uses the service's minimum duration to decide which start times are valid.
1. Once the customer selects a start time, call [List Availability Time Slot End Options](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/list-availability-time-slot-end-options.md) with that start time as `localStartDate` to get the available end times. The end options run from the minimum duration up to either the maximum duration or the resource's next blocking event, whichever comes first. The service's maximum duration always caps the result, so you don't need to calculate an upper bound yourself.

When several resources are free at the chosen start time, Wix returns the end options of the resource with the longest available window. At booking time, Wix assigns a resource that can cover the full selected duration. If the customer selects a resource before selecting an end time, pass that resource's type in `resourceTypes` so the response only includes end times that resource can cover.

The `customerChoices` field on the List Availability Time Slots request doesn't apply to a service with a duration range. Fixed-duration services use `customerChoices` to select a session length, while a rental's length comes from the start and end times the customer selects.

## Daily availability

A daily rental needs only 1 call. Call List Availability Time Slots with `timeSlotsPerDay` set to `1` to get 1 slot per available day.

A day is available only when the resource's whole bookable period for that day is free. Any booking during that period makes the entire day unavailable. For a resource with working hours, the bookable period is that day's working hours. For a 24/7 resource, it's the full calendar day, from midnight to midnight.

Then calculate the valid end dates in your own code. Starting from the date the customer selected, iterate through consecutive available days and stop at the first unavailable day, at the first day the site is closed, or when you reach the service's maximum duration, whichever comes first.

## Buffer time

Buffer time is relevant only to hourly services. For daily services, buffer time isn't applied.

Buffer time works the same way as in Wix Bookings. When an hourly service sets `timeBetweenSessions`, Wix expands each blocking event by that amount before calculating availability, so a rental can't start or end too close to an adjacent booking. You don't need to account for the buffer yourself.

To see these calls in context, follow the [Book an hourly rental](https://dev.wix.com/docs/api-reference/business-solutions/rentals/sample-flows.md#book-an-hourly-rental) and [Book a daily rental with working hours](https://dev.wix.com/docs/api-reference/business-solutions/rentals/sample-flows.md#book-a-daily-rental-with-working-hours) sample flows.

## See also

- [About Wix Rentals](https://dev.wix.com/docs/api-reference/business-solutions/rentals/introduction.md)
- [Wix Rentals and the Bookings APIs](https://dev.wix.com/docs/api-reference/business-solutions/rentals/wix-rentals-and-the-bookings-apis.md)
- [Time Slots V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction.md)
- [Resources V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction.md)
- [Resource Types V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction.md)