> 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/e-commerce/settings/ecommerce-settings/introduction.md

## Article Content:

# About the eCommerce Settings API

The eCommerce Settings API returns a read-only snapshot of how a site's eCommerce is set up. Use it when you need several of these values in one call.

With the eCommerce Settings API, you can retrieve a site's:

- Business locale and business information.
- Checkout settings.
- Delivery destinations.
- Tax and discount configuration.
- Premium status: whether the site has a premium plan that supports accepting payments.
- Active service plugin providers.

Each value comes from the API that owns it, for example the [Checkout Settings API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/settings/checkout-settings/introduction.md) or the [Tax Regions API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-regions/introduction.md). To change a setting, call the API that owns it.

## Before you begin

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

- Specify at least one value in `fields`. The response includes only the fields you request.
- Each requested field is fetched separately. If one can't be retrieved, it's left out of `ecommerceSettings`, and an entry in `errors` names it. The other fields are still returned, so check `errors` before treating a missing field as empty.
- Responses can be cached. A change made through an owning API can take a short time to appear here.

## Use cases

- [Format prices in the site's currency](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/settings/ecommerce-settings/sample-flows.md#format-prices-in-the-sites-currency)
- [List the countries a site delivers to](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/settings/ecommerce-settings/sample-flows.md#list-the-countries-a-site-delivers-to)
- [Check whether a store is ready to sell](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/settings/ecommerce-settings/sample-flows.md#check-whether-a-store-is-ready-to-sell)

## Terminology

- **Requested field**: A value of `fields` that selects one part of the settings to return, such as `BUSINESS_LOCALE` or `DELIVERY`.
- **Rest of world**: The delivery destination that covers every country that isn't listed in `delivery.countries`, and every unlisted subdivision of a listed country that has no country-level `deliveryDestinationProperties`.
- **Service plugin**: An extension point where an app adds logic to the eCommerce flow, such as additional fees or validations. An active provider is an app that implements the plugin on the site.

