> To build a Wix site agentically, or add Wix features like bookings or a store to a site you already have, follow https://www.wix.com/headless/skill.md
> 
> 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: Orders Settings

# Type: Orders Settings Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/settings/orders-settings/orders-settings-object.md

## Description: Site-level settings that control order behavior, such as when inventory is decremented and whether invoices are automatically generated.

## Schema:

```json
 Type: Orders Settings Object | type: OrdersSettings
 Description: Site-level settings that control order behavior, such as when inventory is decremented and whether invoices are automatically generated.
       - name: inventoryUpdateTrigger  | type: string | description: Defines when to update the store inventory. Default: `ON_ORDER_PLACED`
           enum: ON_ORDER_PAID, ON_ORDER_PLACED
       - name: createInvoice  | type: boolean | description: Whether to automatically create invoices for every new order paid online. <br> Default: `false` <br> **Note**: The issued invoice for an order is not a tax invoice and doesn't reflect refunds. You are responsible for ensuring that invoices you issue conform to any relevant legal requirements.
           - name: value  | type: boolean | description: 
       - name: createdDate  | type: string | description: Date and time the orders settings were created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the orders settings were updated.

```