> 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`). > - 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-pricing-plans-backend ## Namespace: orders ## Article: Introduction ## Article Link: https://dev.wix.com/docs/velo/apis/wix-pricing-plans-backend/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 APIs](wix-pricing-plans-backend/create-plan). ### Managing orders Members can order pricing plans in 2 ways: + **Online**. Members order and pay for their plans on your site without manual intervention. + **Offline**. Members place their order by phone, text, or email. You manually record each stage of the transaction. Use the Orders API to manage both online and offline pricing plan orders. You can: + Get a single order or a list of multiple orders. + Let members get and list their own order(s). + Cancel members' orders. + Allow members to cancel their own orders. + Mark offline orders as paid. + Manage orders, including pausing, postponing, and resuming them. Updating the properties of a pricing plan does not affect any current orders of the plan by members. The existing orders retain their existing terms and pricing. ### 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 functions available in the [Pricing Plans APIs](wix-pricing-plans-backend/introduction). 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 functions available in the [Orders APIs](wix-pricing-plans-backend/orders/introduction) and the [Checkout APIs](wix-pricing-plans-backend/checkout/introduction). > **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`, or `subscription`. Orders for all pricing plan models are displayed on the Subscriptions page, not just `subscription` type models. See Pricing Models ([Velo](https://dev.wix.com/docs/velo/apis/wix-pricing-plans-backend/introduction.md#apis_wix-pricing-plans-backend_pricing-models) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/introduction.md#pricing-models)) to learn more. ### Roles and permissions Some functions require that only site visitors with the **Manage Pricing Plans** and **Manage Subscriptions** [permissions](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Selec[…]ashboard%2F%7B%7BmetaSiteId%7D%7D%2Froles-and-permissions/roles) can perform pricing plan order functions. You can override the permissions by setting the function's `suppressAuth` option to `true`. Other functions might require that the site visitor just be logged in. ### Importing the APIs To use the Orders API, import `orders` from the `wix-pricing-plans-backend` module. ```javascript import {orders} from 'wix-pricing-plans-backend'; ```