> 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: Orders Introduction

## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/introduction.md

## Article Content:

# About the Online Orders API

The Online Orders API provides all the functionality required to configure ordering for a restaurant.

Restaurant orders are made up of one or more [menu items](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/menus/items/items/introduction.md), which are created and managed with the Wix Restaurants Menus app.

The settings for Restaurant orders and their fulfillment are managed in the Wix Restaurants Orders app. Restaurant order fulfillments are always for the full order, not for individual items in the order. 

<!--
For more information about fulfillments, see the [Wix eCom Order Fulfillments API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-fulfillments/introduction.md).

> **Note:** To determine the status of a restaurant order, check the [fulfillment object's](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-fulfillments/fulfillments-object.md) `fulfillments.status` property. This property has multiple possible statuses that are more informative than the `true` or `false` of `fulfillments.completed`.
-->

The Online Orders API contains the following APIs:

- [Operation Groups](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/operation-groups/introduction.md): The Operation Groups API allows you to manage operation groups for a restaurant. An operation group is the set of operations for a particular service provided across all of a restaurant's locations. This API requires the Wix Restaurants Orders app.
- [Operations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/operations/introduction.md): The Operations API allows you to manage operations at restaurants and calculate when customers can place orders. An operation is an online ordering service that a restaurant offers at a business location. Operations are created automatically for each operation group and business location. This API requires the Wix Restaurants Orders app.
- [Fulfillment Methods](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/fulfillment-methods/introduction.md): The Fulfillment Methods API allows you to create, retrieve, and manage fulfillment methods for restaurants. This API requires the Wix Restaurants Orders app.
- [Menu Ordering Settings](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/menu-ordering-settings/introduction.md): The Menu Ordering Settings API allows you to retrieve and manage menu ordering settings for a restaurant operation. This API requires the Wix Restaurants Menus app and the Wix Restaurants Orders app.
- [Availability Exceptions](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/availability-exceptions/introduction.md): The Availability Exceptions API allows you to create and manage availability exceptions for restaurant operations. This API requires the Wix Restaurants Orders app.
- [Service Fees](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/service-fees/introduction.md) - The Service Fees API allows you to manage your service fees rules and apply them to orders. This API requires the Wix Restaurants Orders app.
- [Notification Recipients](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/notification-recipients/introduction.md) - The Notification Recipients API allows you to manage notification recipients for restaurant orders. Notification recipients receive notifications via SMS or phone calls when orders are created at their associated Business Locations. This API requires the Wix Restaurants Orders app.

## Business locations

Entities in this API can be linked to a restaurant location. To learn how this information is managed, see [About Business Locations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/about-business-locations.md).

## Before you begin

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

- The Wix user must install the Wix Restaurants Orders app, and the Wix Restaurants Menus app if your're using the Menu Ordering Settings API.

## Use cases

- [Export Wix orders to an external POS system](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/sample-flows.md)
- [Import POS orders to Wix](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/sample-flows.md)
- [Update Wix orders according to changes in an external POS system](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/sample-flows.md)


## Terminology

- **Operation group**: A distinct service a restaurant offers across its business locations, such as catering or takeaway.
- **Operation**: A restaurant's online ordering service at a business location. Each operation group has one operation for each business location.
- **Fulfillment method**: A method by which a restaurant can serve its customers their orders, such as pickup or delivery.
- **Availability exception**: A scheduled time during which orders are restricted or modified for specific fulfillment methods.
- **Service fee rule**: A predefined rule that determines additional charges based on order conditions.
- **Menu ordering settings**: Settings that define the availability of menus for ordering.