> 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/policies/booking-policies/introduction.md

## Article Content:

# About the Booking Policies API

Booking policies are a set of rules that define how customers can book a
service, including:

+ How early or late customers can book sessions.
+ How late customers can cancel or reschedule sessions.
+ How many participants customers can add to a single booking.

With the Wix Bookings Policies API, you can:

+ Create a policy.
+ Query policies.
+ Change the default policy.

Learn more about how business owners can
[set up booking policies](https://support.wix.com/en/article/wix-bookings-setting-up-your-booking-policies).

## Before you begin

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

+ Every site with Wix Bookings comes with a default booking policy that you can
  update but can't delete.
+ Be aware that daylight saving time can affect booking policies. For example,
  if the time shifts an hour forward during a cancellation window, customers have
  1 hour less to cancel their booking.

## Use cases

+ [Assign a policy to a service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/sample-flows.md#assign-a-booking-policy-to-an-existing-service).
+ [Change the default policy](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/sample-flows.md#change-the-default-policy).

## Terminology

+ __Booking policy__: A set of rules that determine how customers can book a
  service, including timeframes for booking, canceling, or rescheduling.
+ __Default policy__: The booking policy that automatically applies to all
  services on the site. While you can't delete the default policy, you can
  update it or designate another policy as the default.

For a comprehensive glossary of Wix Bookings terms, see [Terminology](https://dev.wix.com/docs/rest/business-solutions/bookings/terminology.md).

