> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> 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`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - 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: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/introduction.md

## Article Content:

# About Bookings Time Slots

The Bookings [Time Slots API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction.md) enables you to retrieve information about when services are available for booking.
It provides detailed availability data, capacity information, and booking restrictions to help customers find and book the right time slots.

The [Availability Time Slots Configuration Service Plugin](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/availability-time-slots-configuration-service-plugin/introduction.md) allows you to customize how Wix calculates available time slots, including service duration, resources, locations, and duration adjustments based on customer choices.

## Before you begin

It's important to note the following points before starting to code:

- The [Time Slots API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction.md) supports only appointment-based services and classes.
  To check course availability, follow the [end-to-end booking flow for courses](https://dev.wix.com/docs/api-reference/business-solutions/bookings/flow-single-service-booking.md).
- The [Availability Time Slot Configuration service plugin](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/availability-time-slots-configuration-service-plugin/introduction.md) supports only appointment-based services.
- Availability calculation is based on service configurations, resource availability, operating hours, and booking policies.

## Related APIs

The following APIs work with the Time Slots APIs to provide complete booking management.

### Service and resource management

Define and manage the services and resources for time slot availability:

- [Services V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction.md): Create and manage appointment-based services, classes, and courses that generate time slots.
- [Staff Members API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/introduction.md): Manage staff members who provide services and their working schedules that affect availability.
- [Resources V2 API](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction.md): Manage bookable resources like rooms or equipment that determine time slot capacity.

### Booking management

Handle customer bookings using the retrieved time slot information:

- [Bookings Writer V2 API](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/introduction.md): Create and manage customer bookings for the available time slots.
- [Booking Policies API](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction.md): Define rules that affect time slot availability and booking restrictions.