> 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/events/registration/ticketing/orders/introduction.md

## Article Content:

# About the Orders API

The Orders API allows you to manage the complete ticket purchasing lifecycle for Wix Events. This API handles everything from initial ticket selection and reservation through final checkout and order management.

With the Orders API you can:

- [Query](https://dev.wix.com/docs/api-reference/business-solutions/events/registration/ticketing/orders/query-available-tickets.md) and [list](https://dev.wix.com/docs/api-reference/business-solutions/events/registration/ticketing/orders/list-available-tickets.md) available tickets for events.
- Complete the purchase process by collecting guest information through registration forms and creating confirmed orders.
- [Retrieve](https://dev.wix.com/docs/api-reference/business-solutions/events/registration/ticketing/orders/get-order.md), [update](https://dev.wix.com/docs/api-reference/business-solutions/events/registration/ticketing/orders/update-order.md), and [track](https://dev.wix.com/docs/api-reference/business-solutions/events/registration/ticketing/orders/get-order-summary.md) orders including bulk operations and status changes.

## Before you begin

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

- The site must have [Wix Events & Tickets](https://www.wix.com/app-market/web-solution/events) installed.
- Selling paid tickets requires a [premium plan](https://support.wix.com/en/article/choosing-a-premium-plan?tabs=Core). Free events work without premium features.
- For paid orders, ensure you configure and make available at least 1 payment method.

## Use cases

- Build a custom ticket picker
- Integrate with external checkout systems

## Terminology

- **Order**: The complete transaction record for a customer's ticket purchase, including buyer information, guest details, payment data, and associated tickets.
- **Reservation**: A temporary hold on specific tickets that prevents other customers from purchasing them, typically lasting 20 minutes before expiring.
- **Checkout**: The process of converting a ticket reservation into a confirmed order by collecting guest information and processing payment.
- **Invoice**: A detailed breakdown of charges for a ticket reservation, including individual ticket prices, fees, discounts, and total amounts.
- **Guest**: An individual attendee who purchases a ticket, including their registration form responses and ticket assignment.
- **Buyer**: The person making the purchase and providing payment information, who may be different from the event guests.
- **Ticket definition**: The configuration that defines ticket types, pricing, availability, and sales rules for an event.
- **Event**: A gathering organized by a Wix user for a group of people, which serves as the container for all tickets and orders.

