> 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/restaurants/online-orders/recommendations/introduction.md

## Article Content:

# About the Recommendations APIs

The Recommendations APIs allow you to suggest additional menu items to customers while they order from a restaurant online. For example, you can suggest a drink to a customer who's viewing a pizza, or a dessert to a customer who's about to check out. Recommendations help customers discover items they may want, and help restaurants increase the value of each order.

The Recommendations APIs include:

- [**Recommendation Settings**](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendation-settings/introduction.md): Manage whether recommendations are turned on for each [operation](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/operations/introduction.md) of a restaurant, and the strategy used to select recommended items. There are separate settings for a menu item's details and for the purchase flow.
- [**Recommendations**](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/introduction.md): Retrieve the menu items to recommend to a customer, based on a strategy, the items the customer is ordering, and the fulfillment the customer selected.

## How the APIs work together

The Recommendation Settings API stores the restaurant's choices, and the Recommendations API retrieves the items to show. A typical integration uses both:

1. The restaurant chooses where recommendations are shown and how recommended items are selected. These choices are saved in the operation's recommendation settings.
1. When a customer orders, the ordering page retrieves the operation's recommendation settings to check whether recommendations are turned on for the relevant placement, and which strategy to use.
1. The ordering page retrieves the recommended items with that strategy, and displays them to the customer.

The 2 APIs are independent. The Recommendations API doesn't check the recommendation settings, so the page that displays recommendations is responsible for respecting the restaurant's choices, as Wix's online ordering pages do. You can also retrieve recommendations with a strategy of your own choice, without using the recommendation settings.

## Before you begin

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

- These APIs require Wix Restaurants Orders (New) to be installed on the site. If you're using these APIs in an app, add Wix Restaurants Orders (New) as an app [dependency](https://dev.wix.com/docs/build-apps/launch-your-app/market-listing/add-your-app-audience-info.md).
- Recommendation settings and recommendations belong to an operation. A site without operations has no recommendation settings and no recommendations.

## Terminology

- **Operation**: A service a restaurant offers, such as takeaway or catering. Customers place an order with a specific operation.
- **Recommendation**: A menu item suggested to a customer to add to their order.
- **Placement**: Where recommendations are shown to customers.
  - **Item details**: The details of a single menu item, for example the item modal on an ordering page.
  - **Purchase flow**: The steps of placing an order, such as the cart and checkout.
- **Strategy**: The method used to select recommended items.