> 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: wix-bookings-backend

## Namespace: bookings

## Article: Introduction

## Article Link: https://dev.wix.com/docs/velo/apis/wix-bookings-backend/bookings/introduction.md

## Article Content:

# Introduction
The Bookings API provides functionality for updating and managing bookings created in the Wix Bookings app.

<blockquote class='warning'>

__Deprecation Notice:__

The **Bookings V1 Velo API** has been replaced with the [Bookings V2](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/introduction?apiView=SDK.md) SDK APIs and will be removed on June 30, 2026.

</blockquote>

To enable bookings backend API functionality for your site, add the [Wix Bookings](https://support.wix.com/en/article/wix-bookings-about-wix-bookings#adding-wix-bookings-to-your-site) application to your site.
You must upgrade your site to a [Premium Plan](https://support.wix.com/en/article/upgrading-your-site-to-premium-3066683) in order to accept bookings and receive online payments. 

>**Note:** You cannot book a service in preview mode, or when logged in as the site owner. To make a booking, publish your site, then either log out of your Wix account, or open the published site in an incognito browser window.

The Bookings API provides bookings functionality allowing you to:
+ List and [query](https://dev.wix.com/docs/velo/apis/wix-bookings-backend/bookings/query-bookings.md) booking information.
+ [Confirm](https://dev.wix.com/docs/velo/apis/wix-bookings-backend/bookings/confirm-booking.md) pending booking requests.
+ [Decline](https://dev.wix.com/docs/velo/apis/wix-bookings-backend/bookings/decline-booking.md) pending booking requests.
+ [Cancel](https://dev.wix.com/docs/velo/apis/wix-bookings-backend/bookings/cancel-booking.md) a booking.
+ [Set attendance](https://dev.wix.com/docs/velo/apis/wix-bookings-backend/bookings/set-attendance.md) for booked sessions.
+ [Set](https://dev.wix.com/docs/velo/apis/wix-bookings-backend/bookings/set-booking-as-paid.md) a booking as paid.
+ Update the customer's [booking information](https://dev.wix.com/docs/velo/apis/wix-bookings-backend/bookings/update-customer-info.md).

To use the Bookings API, import `bookings` from the `wix-bookings-backend` module:

```javascript
import { bookings } from "wix-bookings-backend";
```