> 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: pricing-plans

## Article: Introduction

## Article Link: https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/orders/introduction.md

## Article Content:

# Introduction
Use the Pricing Plans Orders API to manage orders for your pricing plans. The Pricing Plans
 Orders API provides functionality for managing pricing plan orders created
 in the Wix Pricing Plans app or using this Wix Pricing Plans API.


 ### Setting up orders

 To use APIs to manage your plan orders, first set up your site to:

 + Accept payments as described in [About Accepting Payments](https://support.wix.com/en/article/about-accepting-payments).

 + Offer membership plans as described in [About Pricing Plans](https://support.wix.com/en/article/about-pricing-plans). When setting up your site to accept pricing plans,
   define the plans you want to offer [using the Dashboard](https://support.wix.com/en/article/creating-a-plan-in-pricing-plans) or
   [using the Pricing Plan backend APIs](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/introduction.md).


 ### Managing orders

 Members can order pricing plans in 2 ways:

 + **Online**. Members order and pay for their plans on your site without manual intervention. This can also be done
   in [backend code](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/orders/create-online-order.md).
 + **Offline**. Members place their order by phone, text, or email. This can only be done
   in [backend code](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/orders/create-offline-order.md).

 Use the Orders API to manage online pricing plan orders. You can:

 + List orders for the currently logged-in member.
 + Allow members to request cancellation of their own orders.


 ### Orders and subscriptions


 Actions related to basic pricing plan management are available from the [Pricing Plans](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fmembership%3FreferralInfo%3Dvelo-docs)
 page in the Dashboard. These actions correspond to the methods available in the [Pricing Plans APIs](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/introduction.md).

 Every pricing plan order corresponds to a Wix subscription, including orders for single payment plans. You can see all orders from your site's
 [Subscriptions](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fsubscriptions%3FreferralInfo%3Dvelo-docs)
 page in the Dashboard. Actions available on this page correspond to the methods available in the [Orders APIs](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/orders/introduction.md) and the [Checkout APIs](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/checkout/introduction.md).


 > **Notes**:
 >
 > + Wix pricing plans are 1 type of Wix subscriptions available from the Subscriptions page. For example, the Subscriptions page also includes Wix Stores subscriptions and Wix invoice subscriptions.
 >
 > + Pricing plans can be 1 of 3 different pricing models: `singlePaymentForDuration`, `singlePaymentUnlimited`, and `subscription`. Orders for all pricing plan models are displayed
     on the Subscriptions page, not just `subscription` type models. See [Pricing Models](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/introduction.md#pricing-models) to learn more.


 ### Roles and permissions

 The current user needs to be logged in to call
 plan order methods, such as [`listCurrentMemberOrders()`](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/orders/list-current-member-orders.md), [`requestCurrentMemberOrderCancellation()`](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/orders/request-current-member-order-cancellation.md).

