Create a new sales order with items, addresses, and optional metadata.
Key Features
Create orders with multiple line items
Support for both product ID and SKU lookup for items
Automatic product name and details population
Flexible address handling (only name required)
Optional company association - when company_id is provided, addresses are auto-populated
Optional custom fields and tags at both order and order item level
Automatic total calculation from line items plus tax/shipping
Order Number
order_number is optional. Supply your own unique value to keep it, or omit it (or send null /
"") and Luminous assigns LUM-{id} after the order is saved. Channels configured with an
order-number prefix assign {prefix}{n} from that channel’s sequence instead. The assigned
value is returned as order_number in the response.
Product Identification
For each line item, you must provide either:
product_id: The internal product ID
sku: The product SKU (supports both internal SKU and alternate SKUs)
The order total is automatically calculated as:
(sum of item quantities × unit prices) + total_tax + total_shipping
Custom Fields and Tags
Custom fields must be predefined in the system before use
Both order-level and item-level custom fields/tags are supported
Retries and idempotency
This endpoint accepts an optional Idempotency-Key request header, so a client that retries
after a network timeout does not create the same sales order twice. Without the header, the request
behaves as normal.
Same key, same body: the first response is replayed as-is (status, body, and an
Idempotent-Replay: true response header). Only one sales order is created, however many
times the request is resent.
Same key, different body: 409 with code: idempotency_conflict. Nothing is created.
Same key, first request still in progress: 409 until the first request finishes.
Keys are kept for 24 hours and are scoped to your API token. The stored response is replayed
whatever its status, including a 422. After you fix a rejected request, resend it with a
new key; reusing the old key returns the stored failure. Use one key per logical create
(for example, your source system’s order number) and keep it the same across retries.
Optional idempotency token. A retry with the same key and body replays the original
stored response (with an Idempotent-Replay: true header) instead of creating a second
sales order. Reusing the key with a different body returns 409. Omit it to disable the guard.
Order number shown on the sales order. Must be unique across all sales orders when supplied. Optional on create: when omitted, null, or an empty string, Luminous assigns LUM-{id} (the new order's Luminous ID) after the order is saved. If the channel is configured with an order-number prefix, the assigned number is {prefix}{n} from that channel's sequence instead. A supplied value is always kept as-is.
ID of the company (business account) to associate with this sales order.
When provided, the system will automatically populate the bill_to and ship_to
addresses from the company's information. If company_id is provided, the
bill_to and ship_to fields become optional.
Billing address information. Required when company_id is not provided.
When company_id is provided, this field is optional and will be populated
from the company's billing address if not specified.
Shipping address information. Required when company_id is not provided.
When company_id is provided, this field is optional and will be populated
from the company's default shipping address if not specified.
Total discount amount applied to the order. If omitted, any header trade discount configured on the linked company (see header_discount_enabled, header_discount_type, and header_discount_value on the company) is computed and applied automatically. Provide an explicit value to override.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Luminous API Documentation","colors":{"primary":"#7787FF","light":"#abb6fc","dark":"#5266e5"},"logo":{"light":"https://mintcdn.com/luminous-2ace3a9f/M8Q_jpCZcjsbRx58/logo/light.svg?fit=max\u0026auto=format\u0026n=M8Q_jpCZcjsbRx58\u0026q=85\u0026s=d932f2bcd17b4ecf6a0315882a7cf660","dark":"https://mintcdn.com/luminous-2ace3a9f/M8Q_jpCZcjsbRx58/logo/dark.svg?fit=max\u0026auto=format\u0026n=M8Q_jpCZcjsbRx58\u0026q=85\u0026s=f00840868e02fb26313b648757ebdf75"},"favicon":"https://mintcdn.com/luminous-2ace3a9f/M8Q_jpCZcjsbRx58/favicon.svg?fit=max\u0026auto=format\u0026n=M8Q_jpCZcjsbRx58\u0026q=85\u0026s=7b5cbde9d8373a43ec8f3a20e147df5c","navbar":{"links":[{"href":"mailto:developers@joinluminous.com","label":"Support"}]},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/joinluminous"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"luminous-2ace3a9f","hasAudioNarration":false,"actualSubdomain":"luminous-2ace3a9f","customDomains":["docs.joinluminous.com"],"gitSource":{"type":"github","owner":"luminousinventory","repo":"apidocs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecc8514df1cfa6996a00a4","collectionId":"e2f80b14-3d1c-481a-965a-8d97fc51aa70","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecc8514df1cfa6996a00a4"},"feedback":{"issues":false,"thumbs":false},"entitlements":{},"buildId":"6aed2af570058998cb8332f1","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"default","tag":"API Reference","count":693},{"language":"default","tag":"Sales \u0026 Fulfillment","count":156},{"language":"default","tag":"Manufacturing","count":101},{"language":"default","tag":"Configuration","count":73},{"language":"default","tag":"Accounts Payable","count":57},{"language":"default","tag":"Products \u0026 Catalog","count":54},{"language":"default","tag":"Purchasing","count":51},{"language":"default","tag":"Companies \u0026 Contacts","count":46},{"language":"default","tag":"Inventory \u0026 Warehousing","count":46},{"language":"default","tag":"Integrations","count":41}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/sales-orders/create-a-new-sales-order","slug":"/api-reference/sales-orders/create-a-new-sales-order","pageMetadata":{"title":"Create a new sales order","description":"Create a new sales order with items, addresses, and optional metadata.\n\n## Key Features\n- Create orders with multiple line items\n- Support for both product ID and SKU lookup for items\n- Automatic product name and details population\n- Flexible address handling (only name required)\n- Optional company association - when `company_id` is provided, addresses are auto-populated\n- Optional custom fields and tags at both order and order item level\n- Automatic total calculation from line items plus tax/shipping\n\n## Order Number\n`order_number` is optional. Supply your own unique value to keep it, or omit it (or send `null` /\n`\"\"`) and Luminous assigns `LUM-{id}` after the order is saved. Channels configured with an\norder-number prefix assign `{prefix}{n}` from that channel's sequence instead. The assigned\nvalue is returned as `order_number` in the response.\n\n## Product Identification\nFor each line item, you must provide either:\n- `product_id`: The internal product ID\n- `sku`: The product SKU (supports both internal SKU and alternate SKUs)\n\n## Order Status Values\nValid order statuses include: `pending`, `shipped`, `fulfilled`, `cancelled`, \n`awaiting_shipment`, `partially_shipped`, `on_hold`, `backorder`, \n`partially_refunded`, `committed`, `processing`, `completed`\n\n## Total Calculation\nThe order total is automatically calculated as:\n`(sum of item quantities × unit prices) + total_tax + total_shipping`\n\n## Custom Fields and Tags\n- Custom fields must be predefined in the system before use\n- Both order-level and item-level custom fields/tags are supported\n\n## Retries and idempotency\nThis endpoint accepts an optional `Idempotency-Key` request header, so a client that retries\nafter a network timeout does not create the same sales order twice. Without the header, the request\nbehaves as normal.\n- **Same key, same body**: the first response is replayed as-is (status, body, and an\n `Idempotent-Replay: true` response header). Only one sales order is created, however many\n times the request is resent.\n- **Same key, different body**: `409` with `code: idempotency_conflict`. Nothing is created.\n- **Same key, first request still in progress**: `409` until the first request finishes.\n\nKeys are kept for 24 hours and are scoped to your API token. The stored response is replayed\nwhatever its status, including a `422`. After you fix a rejected request, resend it with a\n**new** key; reusing the old key returns the stored failure. Use one key per logical create\n(for example, your source system's order number) and keep it the same across retries.\n","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders","href":"/api-reference/sales-orders/create-a-new-sales-order","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n h2: \"h2\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create a new sales order with items, addresses, and optional metadata.\"\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Key Features\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Create orders with multiple line items\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Support for both product ID and SKU lookup for items\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Automatic product name and details population\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Flexible address handling (only name required)\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Optional company association - when \", _jsx(_components.code, {\n children: \"company_id\"\n }), \" is provided, addresses are auto-populated\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Optional custom fields and tags at both order and order item level\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Automatic total calculation from line items plus tax/shipping\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Order Number\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"order_number\"\n }), \" is optional. Supply your own unique value to keep it, or omit it (or send \", _jsx(_components.code, {\n children: \"null\"\n }), \" /\\n\", _jsx(_components.code, {\n children: \"\\\"\\\"\"\n }), \") and Luminous assigns \", _jsx(_components.code, {\n children: \"LUM-{id}\"\n }), \" after the order is saved. Channels configured with an\\norder-number prefix assign \", _jsx(_components.code, {\n children: \"{prefix}{n}\"\n }), \" from that channel’s sequence instead. The assigned\\nvalue is returned as \", _jsx(_components.code, {\n children: \"order_number\"\n }), \" in the response.\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Product Identification\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"For each line item, you must provide either:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"product_id\"\n }), \": The internal product ID\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"sku\"\n }), \": The product SKU (supports both internal SKU and alternate SKUs)\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Order Status Values\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Valid order statuses include: \", _jsx(_components.code, {\n children: \"pending\"\n }), \", \", _jsx(_components.code, {\n children: \"shipped\"\n }), \", \", _jsx(_components.code, {\n children: \"fulfilled\"\n }), \", \", _jsx(_components.code, {\n children: \"cancelled\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"awaiting_shipment\"\n }), \", \", _jsx(_components.code, {\n children: \"partially_shipped\"\n }), \", \", _jsx(_components.code, {\n children: \"on_hold\"\n }), \", \", _jsx(_components.code, {\n children: \"backorder\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"partially_refunded\"\n }), \", \", _jsx(_components.code, {\n children: \"committed\"\n }), \", \", _jsx(_components.code, {\n children: \"processing\"\n }), \", \", _jsx(_components.code, {\n children: \"completed\"\n })]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Total Calculation\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The order total is automatically calculated as:\\n\", _jsx(_components.code, {\n children: \"(sum of item quantities × unit prices) + total_tax + total_shipping\"\n })]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Custom Fields and Tags\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Custom fields must be predefined in the system before use\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Both order-level and item-level custom fields/tags are supported\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Retries and idempotency\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"This endpoint accepts an optional \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" request header, so a client that retries\\nafter a network timeout does not create the same sales order twice. Without the header, the request\\nbehaves as normal.\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Same key, same body\"\n }), \": the first response is replayed as-is (status, body, and an\\n\", _jsx(_components.code, {\n children: \"Idempotent-Replay: true\"\n }), \" response header). Only one sales order is created, however many\\ntimes the request is resent.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Same key, different body\"\n }), \": \", _jsx(_components.code, {\n children: \"409\"\n }), \" with \", _jsx(_components.code, {\n children: \"code: idempotency_conflict\"\n }), \". Nothing is created.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Same key, first request still in progress\"\n }), \": \", _jsx(_components.code, {\n children: \"409\"\n }), \" until the first request finishes.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Keys are kept for 24 hours and are scoped to your API token. The stored response is replayed\\nwhatever its status, including a \", _jsx(_components.code, {\n children: \"422\"\n }), \". After you fix a rejected request, resend it with a\\n\", _jsx(_components.strong, {\n children: \"new\"\n }), \" key; reusing the old key returns the stored failure. Use one key per logical create\\n(for example, your source system’s order number) and keep it the same across retries.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a new sales order","description":"Create a new sales order with items, addresses, and optional metadata.\n\n## Key Features\n- Create orders with multiple line items\n- Support for both product ID and SKU lookup for items\n- Automatic product name and details population\n- Flexible address handling (only name required)\n- Optional company association - when `company_id` is provided, addresses are auto-populated\n- Optional custom fields and tags at both order and order item level\n- Automatic total calculation from line items plus tax/shipping\n\n## Order Number\n`order_number` is optional. Supply your own unique value to keep it, or omit it (or send `null` /\n`\"\"`) and Luminous assigns `LUM-{id}` after the order is saved. Channels configured with an\norder-number prefix assign `{prefix}{n}` from that channel's sequence instead. The assigned\nvalue is returned as `order_number` in the response.\n\n## Product Identification\nFor each line item, you must provide either:\n- `product_id`: The internal product ID\n- `sku`: The product SKU (supports both internal SKU and alternate SKUs)\n\n## Order Status Values\nValid order statuses include: `pending`, `shipped`, `fulfilled`, `cancelled`, \n`awaiting_shipment`, `partially_shipped`, `on_hold`, `backorder`, \n`partially_refunded`, `committed`, `processing`, `completed`\n\n## Total Calculation\nThe order total is automatically calculated as:\n`(sum of item quantities × unit prices) + total_tax + total_shipping`\n\n## Custom Fields and Tags\n- Custom fields must be predefined in the system before use\n- Both order-level and item-level custom fields/tags are supported\n\n## Retries and idempotency\nThis endpoint accepts an optional `Idempotency-Key` request header, so a client that retries\nafter a network timeout does not create the same sales order twice. Without the header, the request\nbehaves as normal.\n- **Same key, same body**: the first response is replayed as-is (status, body, and an\n `Idempotent-Replay: true` response header). Only one sales order is created, however many\n times the request is resent.\n- **Same key, different body**: `409` with `code: idempotency_conflict`. Nothing is created.\n- **Same key, first request still in progress**: `409` until the first request finishes.\n\nKeys are kept for 24 hours and are scoped to your API token. The stored response is replayed\nwhatever its status, including a `422`. After you fix a rejected request, resend it with a\n**new** key; reusing the old key returns the stored failure. Use one key per logical create\n(for example, your source system's order number) and keep it the same across retries.\n","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders","href":"/api-reference/sales-orders/create-a-new-sales-order","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/luminous-2ace3a9f/203a59868a0254e6/scripts/inject-llms-directive.js"],"openApiReferenceData":{"operation":{"operationId":"createSalesOrder","tags":["Sales Orders"],"summary":"Create a new sales order","description":"Create a new sales order with items, addresses, and optional metadata.\n\n## Key Features\n- Create orders with multiple line items\n- Support for both product ID and SKU lookup for items\n- Automatic product name and details population\n- Flexible address handling (only name required)\n- Optional company association - when `company_id` is provided, addresses are auto-populated\n- Optional custom fields and tags at both order and order item level\n- Automatic total calculation from line items plus tax/shipping\n\n## Order Number\n`order_number` is optional. Supply your own unique value to keep it, or omit it (or send `null` /\n`\"\"`) and Luminous assigns `LUM-{id}` after the order is saved. Channels configured with an\norder-number prefix assign `{prefix}{n}` from that channel's sequence instead. The assigned\nvalue is returned as `order_number` in the response.\n\n## Product Identification\nFor each line item, you must provide either:\n- `product_id`: The internal product ID\n- `sku`: The product SKU (supports both internal SKU and alternate SKUs)\n\n## Order Status Values\nValid order statuses include: `pending`, `shipped`, `fulfilled`, `cancelled`, \n`awaiting_shipment`, `partially_shipped`, `on_hold`, `backorder`, \n`partially_refunded`, `committed`, `processing`, `completed`\n\n## Total Calculation\nThe order total is automatically calculated as:\n`(sum of item quantities × unit prices) + total_tax + total_shipping`\n\n## Custom Fields and Tags\n- Custom fields must be predefined in the system before use\n- Both order-level and item-level custom fields/tags are supported\n\n## Retries and idempotency\nThis endpoint accepts an optional `Idempotency-Key` request header, so a client that retries\nafter a network timeout does not create the same sales order twice. Without the header, the request\nbehaves as normal.\n- **Same key, same body**: the first response is replayed as-is (status, body, and an\n `Idempotent-Replay: true` response header). Only one sales order is created, however many\n times the request is resent.\n- **Same key, different body**: `409` with `code: idempotency_conflict`. Nothing is created.\n- **Same key, first request still in progress**: `409` until the first request finishes.\n\nKeys are kept for 24 hours and are scoped to your API token. The stored response is replayed\nwhatever its status, including a `422`. After you fix a rejected request, resend it with a\n**new** key; reusing the old key returns the stored failure. Use one key per logical create\n(for example, your source system's order number) and keep it the same across retries.\n","security":["46c3f81b-329c-4e45-b4a2-a2086472f935"],"parameters":["7dab7bd3-efbf-40ce-8304-c54ead81db35"],"requestBody":"d844cc6e-313d-4920-995f-c9be43c9bfaa","responses":{"201":"053027ad-fcfd-46d1-951d-cfbf7658d30b","401":"9ab4d630-e20a-4933-bcb7-73f18a134132","409":"9b8cdfb3-f252-4266-9a2b-72c3f76b32a2","422":"5faa7b54-4bc9-43c7-9dbc-bc4fe01ae8cc"},"method":"post","type":"path","servers":["2e4be249-9cab-4b20-9acd-7b153d825b1d"],"path":"/sales-orders","baseUrlOptions":["https://{companyName}.api.joinluminous.com/external/api/v1"],"title":"Create a new sales order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7dab7bd3-efbf-40ce-8304-c54ead81db35":{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","isRequired":false,"description":"Optional idempotency token. A retry with the same key and body replays the original\nstored response (with an `Idempotent-Replay: true` header) instead of creating a second\nsales order. Reusing the key with a different body returns `409`. Omit it to disable the guard.\n","uniqueKey":"","typeLabel":"string"},"description":"Optional idempotency token. A retry with the same key and body replays the original\nstored response (with an `Idempotent-Replay: true` header) instead of creating a second\nsales order. Reusing the key with a different body returns `409`. Omit it to disable the guard.\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["channel_id","order_date","order_status","items"],"properties":{"channel_id":{"type":"integer","description":"ID of the channel this order belongs to","example":1,"isRequired":true,"uniqueKey":"channel_id","typeLabel":"integer"},"order_date":{"type":"string","format":"date","description":"Date when the order was placed (YYYY-MM-DD)","example":"2024-01-15","isRequired":true,"uniqueKey":"order_date","typeLabel":"string\u003cdate>"},"order_status":{"type":"string","maxLength":255,"description":"Current status of the order","enum":["pending","shipped","fulfilled","cancelled","awaiting_shipment","partially_shipped","on_hold","backorder","partially_refunded","committed","processing","completed"],"example":"pending","isRequired":true,"uniqueKey":"order_status","typeLabel":"enum\u003cstring>"},"items":{"type":"array","minItems":1,"description":"Array of line items for the order","items":{"type":"object","required":["quantity","unit_price"],"properties":{"quantity":{"type":"number","format":"float","minimum":0.001,"description":"Quantity of the item ordered, expressed in the unit given by `uom_id`. When `uom_id` is a non-base unit (e.g. a carton), the quantity is converted to the product's base unit of measure for storage, picking, and fulfillment (parity with purchase-order create). The converted base-unit value is returned as `quantity_ordered` on the order line.","example":2.5,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].quantity","typeLabel":"number\u003cfloat>"},"unit_price":{"type":"number","format":"float","description":"Price per unit (can be negative for discounts/refunds)","example":49.99,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].unit_price","typeLabel":"number\u003cfloat>"},"product_id":{"type":"integer","description":"ID of the product (required if sku not provided)","example":123,"uniqueKey":"\\items.items.[INDEX].product_id","typeLabel":"integer"},"sku":{"type":"string","maxLength":255,"description":"SKU of the product (required if product_id not provided)","example":"WIDGET-001","uniqueKey":"\\items.items.[INDEX].sku","typeLabel":"string"},"uom_id":{"type":"integer","description":"ID of the unit of measure the line is ordered in. If not provided, the default UOM for the item/account is used. The submitted `quantity` is interpreted in this unit and converted to the product's base unit using the SKU's conversion rules; the response returns `ordered_uom_id` (this unit), `base_uom_id` (the base unit), and `quantity_ordered` (the base-unit quantity).","example":1,"uniqueKey":"\\items.items.[INDEX].uom_id","typeLabel":"integer"},"tags":{"oneOf":[{"type":"array","description":"Tags to associate with this line item","items":{"type":"string","maxLength":255,"example":"fragile","uniqueKey":"\\items.items.[INDEX].tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"example":["fragile","priority"],"uniqueKey":"\\items.items.[INDEX].tags.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Tags to associate with this line item","items":{"type":"string","maxLength":255,"example":"fragile"},"example":["fragile","priority"],"uniqueKey":"\\items.items.[INDEX].tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tags","typeLabel":"string[] | null"},"custom_fields":{"oneOf":[{"type":"object","description":"Custom field values for this line item","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"example":{"Lot Number":"LOT-12345","Expiry Date":"2024-12-31","Quality Check":true},"uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom field values for this line item","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"example":{"Lot Number":"LOT-12345","Expiry Date":"2024-12-31","Quality Check":true},"uniqueKey":"\\items.items.[INDEX].custom_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].custom_fields","typeLabel":"object | null"}},"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"},"order_number":{"oneOf":[{"type":"string","maxLength":255,"description":"Order number shown on the sales order. Must be unique across all sales orders when supplied. Optional on create: when omitted, null, or an empty string, Luminous assigns `LUM-{id}` (the new order's Luminous ID) after the order is saved. If the channel is configured with an order-number prefix, the assigned number is `{prefix}{n}` from that channel's sequence instead. A supplied value is always kept as-is.","example":"ORD-2024-001","uniqueKey":"order_number.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Order number shown on the sales order. Must be unique across all sales orders when supplied. Optional on create: when omitted, null, or an empty string, Luminous assigns `LUM-{id}` (the new order's Luminous ID) after the order is saved. If the channel is configured with an order-number prefix, the assigned number is `{prefix}{n}` from that channel's sequence instead. A supplied value is always kept as-is.","example":"ORD-2024-001","uniqueKey":"order_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"order_number","typeLabel":"string | null"},"customer_email":{"oneOf":[{"type":"string","format":"email","maxLength":255,"description":"Customer's email address","example":"customer@example.com","uniqueKey":"customer_email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","maxLength":255,"description":"Customer's email address","example":"customer@example.com","uniqueKey":"customer_email.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_email","typeLabel":"string\u003cemail> | null"},"customer_username":{"oneOf":[{"type":"string","maxLength":255,"description":"Customer's username","example":"customer123","uniqueKey":"customer_username.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Customer's username","example":"customer123","uniqueKey":"customer_username.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_username","typeLabel":"string | null"},"customer_po_number":{"oneOf":[{"type":"string","maxLength":255,"description":"Customer's purchase order number","example":"PO-2024-5678","uniqueKey":"customer_po_number.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Customer's purchase order number","example":"PO-2024-5678","uniqueKey":"customer_po_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_po_number","typeLabel":"string | null"},"company_id":{"oneOf":[{"type":"integer","description":"ID of the company (business account) to associate with this sales order.\nWhen provided, the system will automatically populate the `bill_to` and `ship_to` \naddresses from the company's information. If `company_id` is provided, the \n`bill_to` and `ship_to` fields become optional.\n","example":123,"uniqueKey":"company_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the company (business account) to associate with this sales order.\nWhen provided, the system will automatically populate the `bill_to` and `ship_to` \naddresses from the company's information. If `company_id` is provided, the \n`bill_to` and `ship_to` fields become optional.\n","example":123,"uniqueKey":"company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"company_id","typeLabel":"integer | null"},"bill_to":{"type":"object","required":["name"],"description":"Billing address information. Required when `company_id` is not provided.\nWhen `company_id` is provided, this field is optional and will be populated \nfrom the company's billing address if not specified.\n","properties":{"name":{"type":"string","maxLength":255,"description":"Full name for billing","example":"John Doe","isRequired":true,"uniqueKey":"bill_to.name","typeLabel":"string"},"company":{"oneOf":[{"type":"string","maxLength":255,"description":"Company name for billing","example":"Acme Corporation","uniqueKey":"bill_to.company.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Company name for billing","example":"Acme Corporation","uniqueKey":"bill_to.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.company","typeLabel":"string | null"},"street1":{"oneOf":[{"type":"string","maxLength":255,"description":"Primary street address","example":"123 Main Street","uniqueKey":"bill_to.street1.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Primary street address","example":"123 Main Street","uniqueKey":"bill_to.street1.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.street1","typeLabel":"string | null"},"street2":{"oneOf":[{"type":"string","maxLength":255,"description":"Secondary address line (apt, suite, etc.)","example":"Suite 100","uniqueKey":"bill_to.street2.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Secondary address line (apt, suite, etc.)","example":"Suite 100","uniqueKey":"bill_to.street2.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.street2","typeLabel":"string | null"},"street3":{"oneOf":[{"type":"string","maxLength":255,"description":"Third address line","uniqueKey":"bill_to.street3.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Third address line","uniqueKey":"bill_to.street3.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.street3","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","maxLength":255,"description":"City name","example":"Anytown","uniqueKey":"bill_to.city.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"City name","example":"Anytown","uniqueKey":"bill_to.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","maxLength":255,"description":"State or province","example":"CA","uniqueKey":"bill_to.state.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"State or province","example":"CA","uniqueKey":"bill_to.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","maxLength":255,"description":"ZIP or postal code","example":"90210","uniqueKey":"bill_to.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"ZIP or postal code","example":"90210","uniqueKey":"bill_to.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","maxLength":2,"description":"2 character country code","example":"US","uniqueKey":"bill_to.country.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":2,"description":"2 character country code","example":"US","uniqueKey":"bill_to.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.country","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","maxLength":255,"description":"Phone number","example":"555-1234","uniqueKey":"bill_to.phone.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Phone number","example":"555-1234","uniqueKey":"bill_to.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"bill_to.phone","typeLabel":"string | null"}},"uniqueKey":"bill_to","typeLabel":"object"},"ship_to":{"type":"object","required":["name"],"description":"Shipping address information. Required when `company_id` is not provided.\nWhen `company_id` is provided, this field is optional and will be populated \nfrom the company's default shipping address if not specified.\n","properties":{"name":{"type":"string","maxLength":255,"description":"Full name for shipping","example":"Jane Smith","isRequired":true,"uniqueKey":"ship_to.name","typeLabel":"string"},"company":{"oneOf":[{"type":"string","maxLength":255,"description":"Company name for shipping","example":"Delivery Corp","uniqueKey":"ship_to.company.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Company name for shipping","example":"Delivery Corp","uniqueKey":"ship_to.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.company","typeLabel":"string | null"},"street1":{"oneOf":[{"type":"string","maxLength":255,"description":"Primary street address","example":"456 Oak Avenue","uniqueKey":"ship_to.street1.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Primary street address","example":"456 Oak Avenue","uniqueKey":"ship_to.street1.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.street1","typeLabel":"string | null"},"street2":{"oneOf":[{"type":"string","maxLength":255,"description":"Secondary address line (apt, suite, etc.)","example":"Apt 2B","uniqueKey":"ship_to.street2.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Secondary address line (apt, suite, etc.)","example":"Apt 2B","uniqueKey":"ship_to.street2.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.street2","typeLabel":"string | null"},"street3":{"oneOf":[{"type":"string","maxLength":255,"description":"Third address line","uniqueKey":"ship_to.street3.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Third address line","uniqueKey":"ship_to.street3.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.street3","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","maxLength":255,"description":"City name","example":"Somewhere","uniqueKey":"ship_to.city.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"City name","example":"Somewhere","uniqueKey":"ship_to.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","maxLength":255,"description":"State or province","example":"NY","uniqueKey":"ship_to.state.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"State or province","example":"NY","uniqueKey":"ship_to.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","maxLength":255,"description":"ZIP or postal code","example":"10001","uniqueKey":"ship_to.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"ZIP or postal code","example":"10001","uniqueKey":"ship_to.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","maxLength":2,"description":"2 character country code","example":"US","uniqueKey":"ship_to.country.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":2,"description":"2 character country code","example":"US","uniqueKey":"ship_to.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.country","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","maxLength":255,"description":"Phone number","example":"555-5678","uniqueKey":"ship_to.phone.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Phone number","example":"555-5678","uniqueKey":"ship_to.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.phone","typeLabel":"string | null"}},"uniqueKey":"ship_to","typeLabel":"object"},"ship_date":{"oneOf":[{"type":"string","format":"date","description":"Date when the order was or will be shipped (YYYY-MM-DD)","example":"2024-01-20","uniqueKey":"ship_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date when the order was or will be shipped (YYYY-MM-DD)","example":"2024-01-20","uniqueKey":"ship_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_date","typeLabel":"string\u003cdate> | null"},"hold_until_date":{"oneOf":[{"type":"string","format":"date","description":"Date to hold the order until (YYYY-MM-DD)","example":"2024-01-18","uniqueKey":"hold_until_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date to hold the order until (YYYY-MM-DD)","example":"2024-01-18","uniqueKey":"hold_until_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"hold_until_date","typeLabel":"string\u003cdate> | null"},"ship_by_date":{"oneOf":[{"type":"string","format":"date","description":"Required ship by date (YYYY-MM-DD)","example":"2024-01-25","uniqueKey":"ship_by_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Required ship by date (YYYY-MM-DD)","example":"2024-01-25","uniqueKey":"ship_by_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_by_date","typeLabel":"string\u003cdate> | null"},"earliest_ship_date":{"oneOf":[{"type":"string","format":"date","description":"Earliest date the order can be shipped (YYYY-MM-DD)","example":"2024-01-18","uniqueKey":"earliest_ship_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Earliest date the order can be shipped (YYYY-MM-DD)","example":"2024-01-18","uniqueKey":"earliest_ship_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"earliest_ship_date","typeLabel":"string\u003cdate> | null"},"total_tax":{"oneOf":[{"type":"number","format":"float","minimum":0,"description":"Total tax amount for the order","example":15.75,"uniqueKey":"total_tax.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","minimum":0,"description":"Total tax amount for the order","example":15.75,"uniqueKey":"total_tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"total_tax","typeLabel":"number\u003cfloat> | null"},"total_shipping":{"oneOf":[{"type":"number","format":"float","minimum":0,"description":"Total shipping cost for the order","example":12.5,"uniqueKey":"total_shipping.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","minimum":0,"description":"Total shipping cost for the order","example":12.5,"uniqueKey":"total_shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"total_shipping","typeLabel":"number\u003cfloat> | null"},"total_discount":{"oneOf":[{"type":"number","format":"float","minimum":0,"description":"Total discount amount applied to the order. If omitted, any header trade discount configured on the linked company (see `header_discount_enabled`, `header_discount_type`, and `header_discount_value` on the company) is computed and applied automatically. Provide an explicit value to override.","example":10,"uniqueKey":"total_discount.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","minimum":0,"description":"Total discount amount applied to the order. If omitted, any header trade discount configured on the linked company (see `header_discount_enabled`, `header_discount_type`, and `header_discount_value` on the company) is computed and applied automatically. Provide an explicit value to override.","example":10,"uniqueKey":"total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"total_discount","typeLabel":"number\u003cfloat> | null"},"requested_shipping_service":{"oneOf":[{"type":"string","maxLength":255,"description":"Requested shipping service or carrier","example":"FedEx Ground","uniqueKey":"requested_shipping_service.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Requested shipping service or carrier","example":"FedEx Ground","uniqueKey":"requested_shipping_service.oneOf.1","typeLabel":"null"}],"uniqueKey":"requested_shipping_service","typeLabel":"string | null"},"customer_notes":{"oneOf":[{"type":"string","description":"Notes from the customer","example":"Please handle with care - fragile items","uniqueKey":"customer_notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Notes from the customer","example":"Please handle with care - fragile items","uniqueKey":"customer_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_notes","typeLabel":"string | null"},"internal_notes":{"oneOf":[{"type":"string","description":"Internal notes for order processing","example":"Rush order - expedite processing","uniqueKey":"internal_notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Internal notes for order processing","example":"Rush order - expedite processing","uniqueKey":"internal_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"internal_notes","typeLabel":"string | null"},"custom_fields":{"oneOf":[{"type":"object","description":"Custom field values for the sales order","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"custom_fields.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"custom_fields.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"custom_fields.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"custom_fields.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"example":{"Customer PO":"PO-98765","Priority Level":"High","Package Count":3},"uniqueKey":"custom_fields.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom field values for the sales order","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"custom_fields.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"custom_fields.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"custom_fields.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"custom_fields.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"example":{"Customer PO":"PO-98765","Priority Level":"High","Package Count":3},"uniqueKey":"custom_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields","typeLabel":"object | null"},"tags":{"oneOf":[{"type":"array","description":"Tags to associate with the sales order","items":{"type":"string","maxLength":255,"example":"urgent","uniqueKey":"tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"example":["urgent","vip-customer","rush-order"],"uniqueKey":"tags.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Tags to associate with the sales order","items":{"type":"string","maxLength":255,"example":"urgent"},"example":["urgent","vip-customer","rush-order"],"uniqueKey":"tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"tags","typeLabel":"string[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"minimal_order":{"title":"minimal_order","description":"A basic order with only required fields","value":{"channel_id":1,"order_number":"ORD-2024-001","order_date":"2024-01-15","order_status":"pending","bill_to":{"name":"John Doe"},"ship_to":{"name":"Jane Smith"},"items":[{"product_id":123,"quantity":2,"unit_price":49.99}]}},"complete_order":{"title":"complete_order","description":"A comprehensive order demonstrating all available fields","value":{"channel_id":1,"order_number":"ORD-2024-002","order_date":"2024-01-15","order_status":"pending","customer_email":"customer@example.com","customer_username":"johndoe123","customer_po_number":"PO-2024-5678","company_id":123,"bill_to":{"name":"John Doe","company":"Acme Corporation","street1":"123 Main Street","street2":"Suite 100","city":"Anytown","state":"CA","postal_code":"90210","country":"US","phone":"555-1234"},"ship_to":{"name":"Jane Smith","company":"Delivery Corp","street1":"456 Oak Avenue","street2":"Apt 2B","city":"Somewhere","state":"NY","postal_code":"10001","country":"US","phone":"555-5678"},"ship_date":"2024-01-20","hold_until_date":"2024-01-18","ship_by_date":"2024-01-25","earliest_ship_date":"2024-01-18","total_tax":15.75,"total_shipping":12.5,"requested_shipping_service":"FedEx Ground","customer_notes":"Please handle with care - fragile items","internal_notes":"Rush order - expedite processing","items":[{"product_id":123,"quantity":2,"unit_price":49.99},{"sku":"WIDGET-002","quantity":1,"unit_price":25}],"custom_fields":{"Customer PO":"PO-98765","Priority Level":"High","Package Count":3},"tags":["urgent","vip-customer","rush-order"]}},"sku_based_order":{"title":"sku_based_order","description":"An order where products are identified by SKU instead of product_id","value":{"channel_id":1,"order_number":"ORD-2024-003","order_date":"2024-01-15","order_status":"pending","customer_email":"customer@example.com","bill_to":{"name":"John Doe","street1":"123 Main Street","city":"Anytown","state":"CA","postal_code":"90210","country":"US"},"ship_to":{"name":"Jane Smith","street1":"456 Oak Avenue","city":"Somewhere","state":"NY","postal_code":"10001","country":"US"},"total_tax":8.5,"total_shipping":10,"items":[{"sku":"WIDGET-001","quantity":3,"unit_price":29.99},{"sku":"GADGET-ABC","quantity":1,"unit_price":15}]}},"order_with_item_metadata":{"title":"order_with_item_metadata","description":"An order demonstrating item-level custom fields and tags","value":{"channel_id":1,"order_number":"ORD-2024-004","order_date":"2024-01-15","order_status":"pending","customer_email":"warehouse@example.com","bill_to":{"name":"Warehouse Manager","company":"Distribution Co"},"ship_to":{"name":"Store Manager","company":"Retail Store","street1":"789 Commerce Blvd","city":"Commerce City","state":"TX","postal_code":"75001","country":"US"},"items":[{"product_id":456,"quantity":10,"unit_price":12.5,"tags":["bulk-item","fragile"],"custom_fields":{"Lot Number":"LOT-2024-001","Expiry Date":"2024-12-31","Quality Check":true}},{"sku":"SPECIAL-789","quantity":2,"unit_price":75,"tags":["priority","special-handling"],"custom_fields":{"Serial Number":"SN-789-001","Warranty Period":24}}],"tags":["bulk-order","warehouse-transfer"]}},"order_with_company":{"title":"order_with_company","description":"An order associated with a company. When company_id is provided, bill_to and ship_to addresses are automatically populated from the company's information.","value":{"channel_id":1,"order_number":"ORD-2024-005","order_date":"2024-01-15","order_status":"pending","customer_email":"customer@example.com","company_id":123,"items":[{"product_id":123,"quantity":2,"unit_price":49.99},{"sku":"WIDGET-002","quantity":1,"unit_price":25}]}},"negative_price_order":{"title":"negative_price_order","description":"An order containing items with negative unit prices for discounts or refunds","value":{"channel_id":1,"order_number":"ORD-2024-006","order_date":"2024-01-15","order_status":"pending","customer_email":"customer@example.com","bill_to":{"name":"John Doe"},"ship_to":{"name":"John Doe","street1":"123 Main Street","city":"Anytown","state":"CA","postal_code":"90210","country":"US"},"items":[{"product_id":123,"quantity":1,"unit_price":100},{"product_id":999,"quantity":1,"unit_price":-15}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"053027ad-fcfd-46d1-951d-cfbf7658d30b":{"description":"Sales order created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the sales order","uniqueKey":"data.id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the order was created","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the order was last updated","uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","description":"Current status of the order","uniqueKey":"data.status","typeLabel":"string"},"order_id":{"type":"string","description":"External order identifier","uniqueKey":"data.order_id","typeLabel":"string"},"order_number":{"type":"string","description":"Order number","uniqueKey":"data.order_number","typeLabel":"string"},"order_date":{"type":"string","format":"date","description":"Date when the order was placed","uniqueKey":"data.order_date","typeLabel":"string\u003cdate>"},"payment_date":{"type":"string","format":"date","description":"Date when payment was received","uniqueKey":"data.payment_date","typeLabel":"string\u003cdate>"},"ship_by_date":{"type":"string","format":"date","description":"Required ship by date","uniqueKey":"data.ship_by_date","typeLabel":"string\u003cdate>"},"age":{"type":"integer","description":"Age of the order in days","uniqueKey":"data.age","typeLabel":"integer"},"order_status":{"type":"string","description":"Status of the order","uniqueKey":"data.order_status","typeLabel":"string"},"customer_id":{"type":"string","description":"Customer identifier","uniqueKey":"data.customer_id","typeLabel":"string"},"customer_username":{"type":"string","description":"Customer's username","uniqueKey":"data.customer_username","typeLabel":"string"},"customer_email":{"type":"string","description":"Customer's email address","uniqueKey":"data.customer_email","typeLabel":"string"},"bill_to":{"type":"object","description":"Billing information","uniqueKey":"data.bill_to","typeLabel":"object"},"ship_to":{"type":"object","description":"Shipping information","uniqueKey":"data.ship_to","typeLabel":"object"},"requested_shipping_service":{"oneOf":[{"type":"string","description":"What shipping service to use when shipping this order","uniqueKey":"data.requested_shipping_service.oneOf.0","typeLabel":"string"},{"type":"null","description":"What shipping service to use when shipping this order","uniqueKey":"data.requested_shipping_service.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.requested_shipping_service","typeLabel":"string | null"},"total":{"type":"number","format":"float","description":"Total order amount","uniqueKey":"data.total","typeLabel":"number\u003cfloat>"},"total_paid":{"type":"number","format":"float","description":"Amount paid","uniqueKey":"data.total_paid","typeLabel":"number\u003cfloat>"},"total_tax":{"type":"number","format":"float","description":"Total tax amount","uniqueKey":"data.total_tax","typeLabel":"number\u003cfloat>"},"total_shipping":{"type":"number","format":"float","description":"Total shipping amount","uniqueKey":"data.total_shipping","typeLabel":"number\u003cfloat>"},"customer_notes":{"type":"string","description":"Notes from the customer","uniqueKey":"data.customer_notes","typeLabel":"string"},"internal_notes":{"type":"string","description":"Internal notes","uniqueKey":"data.internal_notes","typeLabel":"string"},"ship_date":{"type":"string","format":"date","description":"Date when order was shipped","uniqueKey":"data.ship_date","typeLabel":"string\u003cdate>"},"hold_until_date":{"type":"string","format":"date","description":"Hold until date","uniqueKey":"data.hold_until_date","typeLabel":"string\u003cdate>"},"earliest_ship_date":{"oneOf":[{"type":"string","format":"date","description":"Earliest date the order can be shipped","uniqueKey":"data.earliest_ship_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Earliest date the order can be shipped","uniqueKey":"data.earliest_ship_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.earliest_ship_date","typeLabel":"string\u003cdate> | null"},"user_id":{"type":"integer","description":"User ID associated with the order","uniqueKey":"data.user_id","typeLabel":"integer"},"externally_fulfilled":{"type":"boolean","description":"Whether the order is fulfilled externally","uniqueKey":"data.externally_fulfilled","typeLabel":"boolean"},"externally_fulfilled_by":{"type":"string","description":"Entity fulfilling the order externally","uniqueKey":"data.externally_fulfilled_by","typeLabel":"string"},"is_posted":{"type":"boolean","description":"Whether the order is posted","uniqueKey":"data.is_posted","typeLabel":"boolean"},"posted_by":{"type":"string","description":"User who posted the order","uniqueKey":"data.posted_by","typeLabel":"string"},"not_sync":{"type":"boolean","description":"Sync status","uniqueKey":"data.not_sync","typeLabel":"boolean"},"sales_posted":{"type":"boolean","description":"Sales posting status","uniqueKey":"data.sales_posted","typeLabel":"boolean"},"split_order":{"type":"boolean","description":"Whether the order is split","uniqueKey":"data.split_order","typeLabel":"boolean"},"skip_inventory":{"type":"boolean","description":"Whether to skip inventory","uniqueKey":"data.skip_inventory","typeLabel":"boolean"},"skip_sales_report":{"type":"boolean","description":"Whether to skip sales report","uniqueKey":"data.skip_sales_report","typeLabel":"boolean"},"channel_id":{"type":"integer","description":"Channel identifier","uniqueKey":"data.channel_id","typeLabel":"integer"},"total_order_cost":{"type":"number","format":"float","description":"Total cost of order","uniqueKey":"data.total_order_cost","typeLabel":"number\u003cfloat>"},"total_order_quantity":{"type":"number","format":"float","description":"Total quantity of items","uniqueKey":"data.total_order_quantity","typeLabel":"number\u003cfloat>"},"order_cost_details":{"type":"object","description":"Detailed order cost information","uniqueKey":"data.order_cost_details","typeLabel":"object"},"source":{"type":"string","description":"Order source","uniqueKey":"data.source","typeLabel":"string"},"shipstation_order_id":{"type":"string","description":"ShipStation order identifier","uniqueKey":"data.shipstation_order_id","typeLabel":"string"},"type":{"type":"string","description":"Order type","uniqueKey":"data.type","typeLabel":"string"},"parent_id":{"type":"integer","description":"Parent order ID if applicable","uniqueKey":"data.parent_id","typeLabel":"integer"},"shipping_revenue":{"type":"number","format":"float","description":"Revenue from shipping","uniqueKey":"data.shipping_revenue","typeLabel":"number\u003cfloat>"},"product_total":{"type":"number","format":"float","description":"Total product amount","uniqueKey":"data.product_total","typeLabel":"number\u003cfloat>"},"total_discount":{"type":"number","format":"float","description":"Total discount amount","uniqueKey":"data.total_discount","typeLabel":"number\u003cfloat>"},"picking_status":{"type":"string","description":"Status of picking process","uniqueKey":"data.picking_status","typeLabel":"string"},"starred_description":{"type":"string","description":"Description for starred orders","uniqueKey":"data.starred_description","typeLabel":"string"},"customer_po_number":{"type":"string","description":"Customer PO number","uniqueKey":"data.customer_po_number","typeLabel":"string"},"company_id":{"oneOf":[{"type":"integer","description":"ID of the company (business account) associated with this sales order. Only present when a company is associated with the order.","example":123,"uniqueKey":"data.company_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the company (business account) associated with this sales order. Only present when a company is associated with the order.","example":123,"uniqueKey":"data.company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company_id","typeLabel":"integer | null"},"company":{"oneOf":[{"description":"Full company (business account) details associated with this sales order. Only present when a company is associated with the order.","type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the company","example":123456,"isRequired":true,"uniqueKey":"data.company.oneOf.0.id","typeLabel":"integer"},"status":{"type":"string","description":"Status of the company","enum":["active","inactive"],"example":"active","isRequired":true,"uniqueKey":"data.company.oneOf.0.status","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Company name","example":"Acme Corporation","isRequired":true,"uniqueKey":"data.company.oneOf.0.name","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"When the company was created","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the company was last updated","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"type":{"oneOf":[{"type":"string","description":"Type of business","example":"Retail","uniqueKey":"data.company.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Type of business","example":"Retail","uniqueKey":"data.company.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.type","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"Primary phone number for the company","example":"555-123-4567","uniqueKey":"data.company.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Primary phone number for the company","example":"555-123-4567","uniqueKey":"data.company.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.phone","typeLabel":"string | null"},"address":{"oneOf":[{"type":"string","description":"Street address for the company","example":"123 Main St","uniqueKey":"data.company.oneOf.0.address.oneOf.0","typeLabel":"string"},{"type":"null","description":"Street address for the company","example":"123 Main St","uniqueKey":"data.company.oneOf.0.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.address","typeLabel":"string | null"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Suite 500","uniqueKey":"data.company.oneOf.0.address_line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional address information","example":"Suite 500","uniqueKey":"data.company.oneOf.0.address_line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.address_line_2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"City","example":"Austin","uniqueKey":"data.company.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City","example":"Austin","uniqueKey":"data.company.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"State/province","example":"TX","uniqueKey":"data.company.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","description":"State/province","example":"TX","uniqueKey":"data.company.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal/ZIP code","example":"78701","uniqueKey":"data.company.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal/ZIP code","example":"78701","uniqueKey":"data.company.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"Country","example":"USA","uniqueKey":"data.company.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Country","example":"USA","uniqueKey":"data.company.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.country","typeLabel":"string | null"},"full_address":{"oneOf":[{"type":"string","description":"Complete formatted address","example":"123 Main St, Suite 500, Austin, TX 78701, USA","uniqueKey":"data.company.oneOf.0.full_address.oneOf.0","typeLabel":"string"},{"type":"null","description":"Complete formatted address","example":"123 Main St, Suite 500, Austin, TX 78701, USA","uniqueKey":"data.company.oneOf.0.full_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.full_address","typeLabel":"string | null"},"shipping_first_name":{"oneOf":[{"type":"string","description":"First name for shipping contact (legacy field)","example":"John","uniqueKey":"data.company.oneOf.0.shipping_first_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"First name for shipping contact (legacy field)","example":"John","uniqueKey":"data.company.oneOf.0.shipping_first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_first_name","typeLabel":"string | null"},"shipping_last_name":{"oneOf":[{"type":"string","description":"Last name for shipping contact (legacy field)","example":"Doe","uniqueKey":"data.company.oneOf.0.shipping_last_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Last name for shipping contact (legacy field)","example":"Doe","uniqueKey":"data.company.oneOf.0.shipping_last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_last_name","typeLabel":"string | null"},"shipping_email":{"oneOf":[{"type":"string","format":"email","description":"Email for shipping contact (legacy field)","example":"shipping@acmecorp.com","uniqueKey":"data.company.oneOf.0.shipping_email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"Email for shipping contact (legacy field)","example":"shipping@acmecorp.com","uniqueKey":"data.company.oneOf.0.shipping_email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_email","typeLabel":"string\u003cemail> | null"},"shipping_phone":{"oneOf":[{"type":"string","description":"Phone number for shipping contact (legacy field)","example":"555-987-6543","uniqueKey":"data.company.oneOf.0.shipping_phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number for shipping contact (legacy field)","example":"555-987-6543","uniqueKey":"data.company.oneOf.0.shipping_phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_phone","typeLabel":"string | null"},"shipping_address":{"oneOf":[{"type":"string","description":"Shipping street address (legacy field)","example":"456 Warehouse Blvd","uniqueKey":"data.company.oneOf.0.shipping_address.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shipping street address (legacy field)","example":"456 Warehouse Blvd","uniqueKey":"data.company.oneOf.0.shipping_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_address","typeLabel":"string | null"},"shipping_city":{"oneOf":[{"type":"string","description":"Shipping city (legacy field)","example":"Austin","uniqueKey":"data.company.oneOf.0.shipping_city.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shipping city (legacy field)","example":"Austin","uniqueKey":"data.company.oneOf.0.shipping_city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_city","typeLabel":"string | null"},"shipping_state":{"oneOf":[{"type":"string","description":"Shipping state/province (legacy field)","example":"TX","uniqueKey":"data.company.oneOf.0.shipping_state.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shipping state/province (legacy field)","example":"TX","uniqueKey":"data.company.oneOf.0.shipping_state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_state","typeLabel":"string | null"},"shipping_postal_code":{"oneOf":[{"type":"string","description":"Shipping postal/ZIP code (legacy field)","example":"78745","uniqueKey":"data.company.oneOf.0.shipping_postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shipping postal/ZIP code (legacy field)","example":"78745","uniqueKey":"data.company.oneOf.0.shipping_postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_postal_code","typeLabel":"string | null"},"shipping_country":{"oneOf":[{"type":"string","description":"Shipping country (legacy field)","example":"USA","uniqueKey":"data.company.oneOf.0.shipping_country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shipping country (legacy field)","example":"USA","uniqueKey":"data.company.oneOf.0.shipping_country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_country","typeLabel":"string | null"},"shipping_full_address":{"oneOf":[{"type":"string","description":"Complete formatted shipping address (legacy field)","example":"456 Warehouse Blvd, Austin, TX 78745, USA","uniqueKey":"data.company.oneOf.0.shipping_full_address.oneOf.0","typeLabel":"string"},{"type":"null","description":"Complete formatted shipping address (legacy field)","example":"456 Warehouse Blvd, Austin, TX 78745, USA","uniqueKey":"data.company.oneOf.0.shipping_full_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_full_address","typeLabel":"string | null"},"payment_term":{"oneOf":[{"type":"string","description":"Payment terms for the company","example":"Net 30","uniqueKey":"data.company.oneOf.0.payment_term.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment terms for the company","example":"Net 30","uniqueKey":"data.company.oneOf.0.payment_term.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.payment_term","typeLabel":"string | null"},"tax_exempt":{"oneOf":[{"type":"boolean","description":"Whether the company is exempt from taxes","example":false,"uniqueKey":"data.company.oneOf.0.tax_exempt.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the company is exempt from taxes","example":false,"uniqueKey":"data.company.oneOf.0.tax_exempt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.tax_exempt","typeLabel":"boolean | null"},"tax_rate":{"oneOf":[{"type":"number","format":"float","description":"Tax rate applied to the company's orders","example":8.25,"uniqueKey":"data.company.oneOf.0.tax_rate.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","description":"Tax rate applied to the company's orders","example":8.25,"uniqueKey":"data.company.oneOf.0.tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.tax_rate","typeLabel":"number\u003cfloat> | null"},"due_date_days":{"oneOf":[{"type":"integer","description":"Number of days until payment is due","example":30,"uniqueKey":"data.company.oneOf.0.due_date_days.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of days until payment is due","example":30,"uniqueKey":"data.company.oneOf.0.due_date_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.due_date_days","typeLabel":"integer | null"},"credit_limit":{"oneOf":[{"type":"number","format":"float","description":"Credit limit for the company. `null` means no limit is set.","example":5000,"uniqueKey":"data.company.oneOf.0.credit_limit.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","description":"Credit limit for the company. `null` means no limit is set.","example":5000,"uniqueKey":"data.company.oneOf.0.credit_limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.credit_limit","typeLabel":"number\u003cfloat> | null"},"header_discount_enabled":{"type":"boolean","description":"Whether an order-header trade discount is applied by default for this company","example":false,"uniqueKey":"data.company.oneOf.0.header_discount_enabled","typeLabel":"boolean"},"header_discount_type":{"oneOf":[{"type":"string","enum":["PERCENT","FIXED_AMOUNT"],"description":"How the header discount is calculated — a percentage of the order or a fixed amount","example":"PERCENT","uniqueKey":"data.company.oneOf.0.header_discount_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["PERCENT","FIXED_AMOUNT"],"description":"How the header discount is calculated — a percentage of the order or a fixed amount","example":"PERCENT","uniqueKey":"data.company.oneOf.0.header_discount_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.header_discount_type","typeLabel":"enum\u003cstring> | null"},"header_discount_value":{"oneOf":[{"type":"number","format":"float","description":"The header discount amount — a percentage when `header_discount_type` is `PERCENT`, otherwise a fixed currency amount","example":5,"uniqueKey":"data.company.oneOf.0.header_discount_value.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","description":"The header discount amount — a percentage when `header_discount_type` is `PERCENT`, otherwise a fixed currency amount","example":5,"uniqueKey":"data.company.oneOf.0.header_discount_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.header_discount_value","typeLabel":"number\u003cfloat> | null"},"header_discount_effective_from":{"oneOf":[{"type":"string","format":"date","description":"Date from which the header discount takes effect (YYYY-MM-DD)","example":"2026-01-01","uniqueKey":"data.company.oneOf.0.header_discount_effective_from.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date from which the header discount takes effect (YYYY-MM-DD)","example":"2026-01-01","uniqueKey":"data.company.oneOf.0.header_discount_effective_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.header_discount_effective_from","typeLabel":"string\u003cdate> | null"},"default_currency_code":{"oneOf":[{"type":"string","description":"Default ISO 4217 currency code for this company. Auto-applied to new orders created for the company.","example":"USD","uniqueKey":"data.company.oneOf.0.default_currency_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default ISO 4217 currency code for this company. Auto-applied to new orders created for the company.","example":"USD","uniqueKey":"data.company.oneOf.0.default_currency_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.default_currency_code","typeLabel":"string | null"},"price_level":{"oneOf":[{"description":"Price level associated with this company","type":"object","properties":{"id":{"type":"number","description":"Unique identifier for the price level","example":123,"uniqueKey":"data.company.oneOf.0.price_level.oneOf.0.id","typeLabel":"number"},"created_at":{"type":"string","format":"date-time","description":"When the price level was created","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.price_level.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the price level was last updated","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.price_level.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","description":"Status of the price level","enum":["active","inactive"],"example":"active","uniqueKey":"data.company.oneOf.0.price_level.oneOf.0.status","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Name of the price level","example":"Wholesale","uniqueKey":"data.company.oneOf.0.price_level.oneOf.0.name","typeLabel":"string"},"type":{"type":"string","description":"Type of the price level","example":"percentage","uniqueKey":"data.company.oneOf.0.price_level.oneOf.0.type","typeLabel":"string"},"percent_increase":{"type":"number","format":"float","description":"Percentage increase (or decrease) for this price level","example":15.5,"uniqueKey":"data.company.oneOf.0.price_level.oneOf.0.percent_increase","typeLabel":"number\u003cfloat>"}},"uniqueKey":"data.company.oneOf.0.price_level.oneOf.0","typeLabel":"object"},{"description":"Price level associated with this company","type":"null","properties":{"id":{"type":"number","description":"Unique identifier for the price level","example":123},"created_at":{"type":"string","format":"date-time","description":"When the price level was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the price level was last updated","example":"2023-03-15T14:30:00Z"},"status":{"type":"string","description":"Status of the price level","enum":["active","inactive"],"example":"active"},"name":{"type":"string","description":"Name of the price level","example":"Wholesale"},"type":{"type":"string","description":"Type of the price level","example":"percentage"},"percent_increase":{"type":"number","format":"float","description":"Percentage increase (or decrease) for this price level","example":15.5}},"uniqueKey":"data.company.oneOf.0.price_level.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.price_level","typeLabel":"object | null"},"notes":{"oneOf":[{"type":"string","description":"Additional notes about the company","example":"Key account, requires special handling","uniqueKey":"data.company.oneOf.0.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional notes about the company","example":"Key account, requires special handling","uniqueKey":"data.company.oneOf.0.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.notes","typeLabel":"string | null"},"fein":{"oneOf":[{"type":"string","description":"Federal Employer Identification Number","example":"12-3456789","uniqueKey":"data.company.oneOf.0.fein.oneOf.0","typeLabel":"string"},{"type":"null","description":"Federal Employer Identification Number","example":"12-3456789","uniqueKey":"data.company.oneOf.0.fein.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.fein","typeLabel":"string | null"},"tags":{"oneOf":[{"type":"array","description":"List of tags associated with the company","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the tag","isRequired":true,"uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","description":"Name of the tag","isRequired":true,"uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the tag","uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the tag","uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"icon":{"oneOf":[{"type":"string","description":"Icon identifier or URL for the tag","uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].icon.oneOf.0","typeLabel":"string"},{"type":"null","description":"Icon identifier or URL for the tag","uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].icon","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","description":"Color code for the tag","uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].color.oneOf.0","typeLabel":"string"},{"type":"null","description":"Color code for the tag","uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].color.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX].color","typeLabel":"string | null"}},"required":["id","name"],"uniqueKey":"data.company.oneOf.0.tags.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.company.oneOf.0.tags.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"List of tags associated with the company","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the tag"},"name":{"type":"string","description":"Name of the tag"},"description":{"oneOf":[{"type":"string","description":"Description of the tag"},{"type":"null","description":"Description of the tag"}]},"icon":{"oneOf":[{"type":"string","description":"Icon identifier or URL for the tag"},{"type":"null","description":"Icon identifier or URL for the tag"}]},"color":{"oneOf":[{"type":"string","description":"Color code for the tag"},{"type":"null","description":"Color code for the tag"}]}},"required":["id","name"]},"uniqueKey":"data.company.oneOf.0.tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.tags","typeLabel":"object[] | null"},"default_shipping":{"oneOf":[{"description":"Default shipping address","type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the shipping address","example":789,"isRequired":true,"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.id","typeLabel":"integer"},"company_id":{"type":"integer","description":"ID of the company this shipping address belongs to","example":123456,"isRequired":true,"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.company_id","typeLabel":"integer"},"address":{"type":"string","description":"Street address","example":"456 Warehouse Blvd","isRequired":true,"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.address","typeLabel":"string"},"city":{"type":"string","description":"City","example":"Austin","isRequired":true,"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","description":"State/province","example":"TX","isRequired":true,"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.state","typeLabel":"string"},"postal_code":{"type":"string","description":"Postal/ZIP code","example":"78745","isRequired":true,"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.postal_code","typeLabel":"string"},"country":{"type":"string","description":"Country","example":"USA","isRequired":true,"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.country","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"When the shipping address was created","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the shipping address was last updated","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"company_name":{"oneOf":[{"type":"string","description":"Name of the company","example":"Acme Corporation","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.company_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the company","example":"Acme Corporation","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.company_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.company_name","typeLabel":"string | null"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Building 2","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.address_line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional address information","example":"Building 2","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.address_line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.address_line_2","typeLabel":"string | null"},"full_address":{"type":"string","description":"Complete formatted address","example":"456 Warehouse Blvd, Building 2, Austin, TX 78745, USA","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.full_address","typeLabel":"string"},"full_name":{"type":"string","description":"Full name of the contact person","example":"John Doe","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.full_name","typeLabel":"string"},"first_name":{"oneOf":[{"type":"string","description":"First name of the contact person","example":"John","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"First name of the contact person","example":"John","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","description":"Last name of the contact person","example":"Doe","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Last name of the contact person","example":"Doe","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.last_name","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number","example":"555-987-6543","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number","example":"555-987-6543","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.phone","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","format":"email","description":"Email address","example":"shipping@acmecorp.com","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"Email address","example":"shipping@acmecorp.com","uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.email","typeLabel":"string\u003cemail> | null"},"is_default":{"type":"boolean","description":"Whether this is the default shipping address","example":true,"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0.is_default","typeLabel":"boolean"}},"required":["id","company_id","address","city","state","postal_code","country"],"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.0","typeLabel":"object"},{"description":"Default shipping address","type":"null","properties":{"id":{"type":"integer","description":"Unique identifier for the shipping address","example":789},"created_at":{"type":"string","format":"date-time","description":"When the shipping address was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the shipping address was last updated","example":"2023-03-15T14:30:00Z"},"company_id":{"type":"integer","description":"ID of the company this shipping address belongs to","example":123456},"company_name":{"oneOf":[{"type":"string","description":"Name of the company","example":"Acme Corporation"},{"type":"null","description":"Name of the company","example":"Acme Corporation"}]},"address":{"type":"string","description":"Street address","example":"456 Warehouse Blvd"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Building 2"},{"type":"null","description":"Additional address information","example":"Building 2"}]},"city":{"type":"string","description":"City","example":"Austin"},"state":{"type":"string","description":"State/province","example":"TX"},"postal_code":{"type":"string","description":"Postal/ZIP code","example":"78745"},"country":{"type":"string","description":"Country","example":"USA"},"full_address":{"type":"string","description":"Complete formatted address","example":"456 Warehouse Blvd, Building 2, Austin, TX 78745, USA"},"full_name":{"type":"string","description":"Full name of the contact person","example":"John Doe"},"first_name":{"oneOf":[{"type":"string","description":"First name of the contact person","example":"John"},{"type":"null","description":"First name of the contact person","example":"John"}]},"last_name":{"oneOf":[{"type":"string","description":"Last name of the contact person","example":"Doe"},{"type":"null","description":"Last name of the contact person","example":"Doe"}]},"phone":{"oneOf":[{"type":"string","description":"Phone number","example":"555-987-6543"},{"type":"null","description":"Phone number","example":"555-987-6543"}]},"email":{"oneOf":[{"type":"string","format":"email","description":"Email address","example":"shipping@acmecorp.com"},{"type":"null","format":"email","description":"Email address","example":"shipping@acmecorp.com"}]},"is_default":{"type":"boolean","description":"Whether this is the default shipping address","example":true}},"required":["id","company_id","address","city","state","postal_code","country"],"uniqueKey":"data.company.oneOf.0.default_shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.default_shipping","typeLabel":"object | null"},"shipping_addresses":{"oneOf":[{"type":"array","description":"List of shipping addresses for the company","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the shipping address","example":789,"isRequired":true,"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].id","typeLabel":"integer"},"company_id":{"type":"integer","description":"ID of the company this shipping address belongs to","example":123456,"isRequired":true,"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].company_id","typeLabel":"integer"},"address":{"type":"string","description":"Street address","example":"456 Warehouse Blvd","isRequired":true,"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].address","typeLabel":"string"},"city":{"type":"string","description":"City","example":"Austin","isRequired":true,"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].city","typeLabel":"string"},"state":{"type":"string","description":"State/province","example":"TX","isRequired":true,"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].state","typeLabel":"string"},"postal_code":{"type":"string","description":"Postal/ZIP code","example":"78745","isRequired":true,"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].postal_code","typeLabel":"string"},"country":{"type":"string","description":"Country","example":"USA","isRequired":true,"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"When the shipping address was created","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the shipping address was last updated","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"company_name":{"oneOf":[{"type":"string","description":"Name of the company","example":"Acme Corporation","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].company_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the company","example":"Acme Corporation","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].company_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].company_name","typeLabel":"string | null"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Building 2","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].address_line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional address information","example":"Building 2","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].address_line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].address_line_2","typeLabel":"string | null"},"full_address":{"type":"string","description":"Complete formatted address","example":"456 Warehouse Blvd, Building 2, Austin, TX 78745, USA","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].full_address","typeLabel":"string"},"full_name":{"type":"string","description":"Full name of the contact person","example":"John Doe","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].full_name","typeLabel":"string"},"first_name":{"oneOf":[{"type":"string","description":"First name of the contact person","example":"John","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].first_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"First name of the contact person","example":"John","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","description":"Last name of the contact person","example":"Doe","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].last_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Last name of the contact person","example":"Doe","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].last_name","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number","example":"555-987-6543","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number","example":"555-987-6543","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].phone","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","format":"email","description":"Email address","example":"shipping@acmecorp.com","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"Email address","example":"shipping@acmecorp.com","uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail> | null"},"is_default":{"type":"boolean","description":"Whether this is the default shipping address","example":true,"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX].is_default","typeLabel":"boolean"}},"required":["id","company_id","address","city","state","postal_code","country"],"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"List of shipping addresses for the company","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the shipping address","example":789},"created_at":{"type":"string","format":"date-time","description":"When the shipping address was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the shipping address was last updated","example":"2023-03-15T14:30:00Z"},"company_id":{"type":"integer","description":"ID of the company this shipping address belongs to","example":123456},"company_name":{"oneOf":[{"type":"string","description":"Name of the company","example":"Acme Corporation"},{"type":"null","description":"Name of the company","example":"Acme Corporation"}]},"address":{"type":"string","description":"Street address","example":"456 Warehouse Blvd"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Building 2"},{"type":"null","description":"Additional address information","example":"Building 2"}]},"city":{"type":"string","description":"City","example":"Austin"},"state":{"type":"string","description":"State/province","example":"TX"},"postal_code":{"type":"string","description":"Postal/ZIP code","example":"78745"},"country":{"type":"string","description":"Country","example":"USA"},"full_address":{"type":"string","description":"Complete formatted address","example":"456 Warehouse Blvd, Building 2, Austin, TX 78745, USA"},"full_name":{"type":"string","description":"Full name of the contact person","example":"John Doe"},"first_name":{"oneOf":[{"type":"string","description":"First name of the contact person","example":"John"},{"type":"null","description":"First name of the contact person","example":"John"}]},"last_name":{"oneOf":[{"type":"string","description":"Last name of the contact person","example":"Doe"},{"type":"null","description":"Last name of the contact person","example":"Doe"}]},"phone":{"oneOf":[{"type":"string","description":"Phone number","example":"555-987-6543"},{"type":"null","description":"Phone number","example":"555-987-6543"}]},"email":{"oneOf":[{"type":"string","format":"email","description":"Email address","example":"shipping@acmecorp.com"},{"type":"null","format":"email","description":"Email address","example":"shipping@acmecorp.com"}]},"is_default":{"type":"boolean","description":"Whether this is the default shipping address","example":true}},"required":["id","company_id","address","city","state","postal_code","country"]},"uniqueKey":"data.company.oneOf.0.shipping_addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.shipping_addresses","typeLabel":"object[] | null"},"billing_info":{"oneOf":[{"type":"object","description":"Billing information","properties":{"id":{"type":"integer","example":456,"uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"first_name":{"oneOf":[{"type":"string","example":"Jane","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Jane","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","example":"Smith","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Smith","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.last_name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","format":"email","example":"accounting@acmecorp.com","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","example":"accounting@acmecorp.com","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.email","typeLabel":"string\u003cemail> | null"},"receiving_bank_name":{"oneOf":[{"type":"string","example":"First National Bank","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.receiving_bank_name.oneOf.0","typeLabel":"string"},{"type":"null","example":"First National Bank","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.receiving_bank_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.receiving_bank_name","typeLabel":"string | null"},"receiving_bank_address":{"oneOf":[{"type":"string","example":"789 Finance Street, Austin, TX 78701","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.receiving_bank_address.oneOf.0","typeLabel":"string"},{"type":"null","example":"789 Finance Street, Austin, TX 78701","uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.receiving_bank_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0.receiving_bank_address","typeLabel":"string | null"}},"uniqueKey":"data.company.oneOf.0.billing_info.oneOf.0","typeLabel":"object"},{"type":"null","description":"Billing information","properties":{"id":{"type":"integer","example":456},"created_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"first_name":{"oneOf":[{"type":"string","example":"Jane"},{"type":"null","example":"Jane"}]},"last_name":{"oneOf":[{"type":"string","example":"Smith"},{"type":"null","example":"Smith"}]},"email":{"oneOf":[{"type":"string","format":"email","example":"accounting@acmecorp.com"},{"type":"null","format":"email","example":"accounting@acmecorp.com"}]},"receiving_bank_name":{"oneOf":[{"type":"string","example":"First National Bank"},{"type":"null","example":"First National Bank"}]},"receiving_bank_address":{"oneOf":[{"type":"string","example":"789 Finance Street, Austin, TX 78701"},{"type":"null","example":"789 Finance Street, Austin, TX 78701"}]}},"uniqueKey":"data.company.oneOf.0.billing_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.billing_info","typeLabel":"object | null"},"client_type":{"oneOf":[{"type":"object","description":"Type of client","properties":{"id":{"type":"integer","example":123,"uniqueKey":"data.company.oneOf.0.client_type.oneOf.0.id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.client_type.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z","uniqueKey":"data.company.oneOf.0.client_type.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"name":{"type":"string","example":"Retail","uniqueKey":"data.company.oneOf.0.client_type.oneOf.0.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","example":"Retail business client","uniqueKey":"data.company.oneOf.0.client_type.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","example":"Retail business client","uniqueKey":"data.company.oneOf.0.client_type.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.client_type.oneOf.0.description","typeLabel":"string | null"}},"uniqueKey":"data.company.oneOf.0.client_type.oneOf.0","typeLabel":"object"},{"type":"null","description":"Type of client","properties":{"id":{"type":"integer","example":123},"created_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"name":{"type":"string","example":"Retail"},"description":{"oneOf":[{"type":"string","example":"Retail business client"},{"type":"null","example":"Retail business client"}]}},"uniqueKey":"data.company.oneOf.0.client_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.client_type","typeLabel":"object | null"},"parent_company_id":{"oneOf":[{"type":"integer","description":"ID of the parent company","example":456,"uniqueKey":"data.company.oneOf.0.parent_company_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the parent company","example":456,"uniqueKey":"data.company.oneOf.0.parent_company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.parent_company_id","typeLabel":"integer | null"},"invoice_export_template_id":{"oneOf":[{"type":"integer","description":"ID of the invoice export template","example":789,"uniqueKey":"data.company.oneOf.0.invoice_export_template_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the invoice export template","example":789,"uniqueKey":"data.company.oneOf.0.invoice_export_template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.invoice_export_template_id","typeLabel":"integer | null"},"custom_fields":{"type":"object","description":"Custom fields for the company","example":{"Industry":"Manufacturing","Region":"Southwest","Annual Revenue":"$5M-$10M"},"uniqueKey":"data.company.oneOf.0.custom_fields","typeLabel":"object"},"assigned_sales_reps":{"type":"array","description":"Sales rep users assigned to this company (Go Team members). Resolved from the company's\n`goTeamMember.user` relation. Only present when the relation is loaded.\n","items":{"type":"object","properties":{"id":{"type":"integer","description":"User ID of the assigned sales rep","example":42,"uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX].id","typeLabel":"integer"},"email":{"type":"string","description":"Email of the assigned sales rep (PII-hashed when PII filtering is enabled)","example":"rep@example.com","uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX].email","typeLabel":"string"},"first_name":{"oneOf":[{"type":"string","example":"Jane","uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX].first_name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Jane","uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX].first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX].first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","example":"Doe","uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX].last_name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Doe","uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX].last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX].last_name","typeLabel":"string | null"}},"uniqueKey":"data.company.oneOf.0.assigned_sales_reps.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.company.oneOf.0.assigned_sales_reps","typeLabel":"object[]"},"sales_channel":{"oneOf":[{"type":"object","description":"The company's default sales channel. Only present when the relation is loaded.","properties":{"id":{"type":"integer","description":"Sales channel ID.","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.id","typeLabel":"integer"},"status":{"type":"string","description":"Sales channel status (e.g. active).","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.status","typeLabel":"string"},"label":{"oneOf":[{"type":"string","description":"Human-readable channel label.","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.label.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable channel label.","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.label","typeLabel":"string | null"},"channel_type":{"oneOf":[{"type":"string","description":"Channel type (e.g. the integration/platform the channel represents).","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.channel_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Channel type (e.g. the integration/platform the channel represents).","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.channel_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.channel_type","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.company.oneOf.0.sales_channel.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company.oneOf.0.sales_channel","typeLabel":"object | null"}},"required":["id","name","status"],"uniqueKey":"data.company.oneOf.0","typeLabel":"object"},{"description":"Full company (business account) details associated with this sales order. Only present when a company is associated with the order.","type":"null","properties":{"id":{"type":"integer","description":"Unique identifier for the company","example":123456},"created_at":{"type":"string","format":"date-time","description":"When the company was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the company was last updated","example":"2023-03-15T14:30:00Z"},"status":{"type":"string","description":"Status of the company","enum":["active","inactive"],"example":"active"},"name":{"type":"string","description":"Company name","example":"Acme Corporation"},"type":{"oneOf":[{"type":"string","description":"Type of business","example":"Retail"},{"type":"null","description":"Type of business","example":"Retail"}]},"phone":{"oneOf":[{"type":"string","description":"Primary phone number for the company","example":"555-123-4567"},{"type":"null","description":"Primary phone number for the company","example":"555-123-4567"}]},"address":{"oneOf":[{"type":"string","description":"Street address for the company","example":"123 Main St"},{"type":"null","description":"Street address for the company","example":"123 Main St"}]},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Suite 500"},{"type":"null","description":"Additional address information","example":"Suite 500"}]},"city":{"oneOf":[{"type":"string","description":"City","example":"Austin"},{"type":"null","description":"City","example":"Austin"}]},"state":{"oneOf":[{"type":"string","description":"State/province","example":"TX"},{"type":"null","description":"State/province","example":"TX"}]},"postal_code":{"oneOf":[{"type":"string","description":"Postal/ZIP code","example":"78701"},{"type":"null","description":"Postal/ZIP code","example":"78701"}]},"country":{"oneOf":[{"type":"string","description":"Country","example":"USA"},{"type":"null","description":"Country","example":"USA"}]},"full_address":{"oneOf":[{"type":"string","description":"Complete formatted address","example":"123 Main St, Suite 500, Austin, TX 78701, USA"},{"type":"null","description":"Complete formatted address","example":"123 Main St, Suite 500, Austin, TX 78701, USA"}]},"shipping_first_name":{"oneOf":[{"type":"string","description":"First name for shipping contact (legacy field)","example":"John"},{"type":"null","description":"First name for shipping contact (legacy field)","example":"John"}]},"shipping_last_name":{"oneOf":[{"type":"string","description":"Last name for shipping contact (legacy field)","example":"Doe"},{"type":"null","description":"Last name for shipping contact (legacy field)","example":"Doe"}]},"shipping_email":{"oneOf":[{"type":"string","format":"email","description":"Email for shipping contact (legacy field)","example":"shipping@acmecorp.com"},{"type":"null","format":"email","description":"Email for shipping contact (legacy field)","example":"shipping@acmecorp.com"}]},"shipping_phone":{"oneOf":[{"type":"string","description":"Phone number for shipping contact (legacy field)","example":"555-987-6543"},{"type":"null","description":"Phone number for shipping contact (legacy field)","example":"555-987-6543"}]},"shipping_address":{"oneOf":[{"type":"string","description":"Shipping street address (legacy field)","example":"456 Warehouse Blvd"},{"type":"null","description":"Shipping street address (legacy field)","example":"456 Warehouse Blvd"}]},"shipping_city":{"oneOf":[{"type":"string","description":"Shipping city (legacy field)","example":"Austin"},{"type":"null","description":"Shipping city (legacy field)","example":"Austin"}]},"shipping_state":{"oneOf":[{"type":"string","description":"Shipping state/province (legacy field)","example":"TX"},{"type":"null","description":"Shipping state/province (legacy field)","example":"TX"}]},"shipping_postal_code":{"oneOf":[{"type":"string","description":"Shipping postal/ZIP code (legacy field)","example":"78745"},{"type":"null","description":"Shipping postal/ZIP code (legacy field)","example":"78745"}]},"shipping_country":{"oneOf":[{"type":"string","description":"Shipping country (legacy field)","example":"USA"},{"type":"null","description":"Shipping country (legacy field)","example":"USA"}]},"shipping_full_address":{"oneOf":[{"type":"string","description":"Complete formatted shipping address (legacy field)","example":"456 Warehouse Blvd, Austin, TX 78745, USA"},{"type":"null","description":"Complete formatted shipping address (legacy field)","example":"456 Warehouse Blvd, Austin, TX 78745, USA"}]},"payment_term":{"oneOf":[{"type":"string","description":"Payment terms for the company","example":"Net 30"},{"type":"null","description":"Payment terms for the company","example":"Net 30"}]},"tax_exempt":{"oneOf":[{"type":"boolean","description":"Whether the company is exempt from taxes","example":false},{"type":"null","description":"Whether the company is exempt from taxes","example":false}]},"tax_rate":{"oneOf":[{"type":"number","format":"float","description":"Tax rate applied to the company's orders","example":8.25},{"type":"null","format":"float","description":"Tax rate applied to the company's orders","example":8.25}]},"due_date_days":{"oneOf":[{"type":"integer","description":"Number of days until payment is due","example":30},{"type":"null","description":"Number of days until payment is due","example":30}]},"credit_limit":{"oneOf":[{"type":"number","format":"float","description":"Credit limit for the company. `null` means no limit is set.","example":5000},{"type":"null","format":"float","description":"Credit limit for the company. `null` means no limit is set.","example":5000}]},"header_discount_enabled":{"type":"boolean","description":"Whether an order-header trade discount is applied by default for this company","example":false},"header_discount_type":{"oneOf":[{"type":"string","enum":["PERCENT","FIXED_AMOUNT"],"description":"How the header discount is calculated — a percentage of the order or a fixed amount","example":"PERCENT"},{"type":"null","enum":["PERCENT","FIXED_AMOUNT"],"description":"How the header discount is calculated — a percentage of the order or a fixed amount","example":"PERCENT"}]},"header_discount_value":{"oneOf":[{"type":"number","format":"float","description":"The header discount amount — a percentage when `header_discount_type` is `PERCENT`, otherwise a fixed currency amount","example":5},{"type":"null","format":"float","description":"The header discount amount — a percentage when `header_discount_type` is `PERCENT`, otherwise a fixed currency amount","example":5}]},"header_discount_effective_from":{"oneOf":[{"type":"string","format":"date","description":"Date from which the header discount takes effect (YYYY-MM-DD)","example":"2026-01-01"},{"type":"null","format":"date","description":"Date from which the header discount takes effect (YYYY-MM-DD)","example":"2026-01-01"}]},"default_currency_code":{"oneOf":[{"type":"string","description":"Default ISO 4217 currency code for this company. Auto-applied to new orders created for the company.","example":"USD"},{"type":"null","description":"Default ISO 4217 currency code for this company. Auto-applied to new orders created for the company.","example":"USD"}]},"price_level":{"oneOf":[{"description":"Price level associated with this company","type":"object","properties":{"id":{"type":"number","description":"Unique identifier for the price level","example":123},"created_at":{"type":"string","format":"date-time","description":"When the price level was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the price level was last updated","example":"2023-03-15T14:30:00Z"},"status":{"type":"string","description":"Status of the price level","enum":["active","inactive"],"example":"active"},"name":{"type":"string","description":"Name of the price level","example":"Wholesale"},"type":{"type":"string","description":"Type of the price level","example":"percentage"},"percent_increase":{"type":"number","format":"float","description":"Percentage increase (or decrease) for this price level","example":15.5}}},{"description":"Price level associated with this company","type":"null","properties":{"id":{"type":"number","description":"Unique identifier for the price level","example":123},"created_at":{"type":"string","format":"date-time","description":"When the price level was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the price level was last updated","example":"2023-03-15T14:30:00Z"},"status":{"type":"string","description":"Status of the price level","enum":["active","inactive"],"example":"active"},"name":{"type":"string","description":"Name of the price level","example":"Wholesale"},"type":{"type":"string","description":"Type of the price level","example":"percentage"},"percent_increase":{"type":"number","format":"float","description":"Percentage increase (or decrease) for this price level","example":15.5}}}]},"notes":{"oneOf":[{"type":"string","description":"Additional notes about the company","example":"Key account, requires special handling"},{"type":"null","description":"Additional notes about the company","example":"Key account, requires special handling"}]},"fein":{"oneOf":[{"type":"string","description":"Federal Employer Identification Number","example":"12-3456789"},{"type":"null","description":"Federal Employer Identification Number","example":"12-3456789"}]},"tags":{"oneOf":[{"type":"array","description":"List of tags associated with the company","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the tag"},"name":{"type":"string","description":"Name of the tag"},"description":{"oneOf":[{"type":"string","description":"Description of the tag"},{"type":"null","description":"Description of the tag"}]},"icon":{"oneOf":[{"type":"string","description":"Icon identifier or URL for the tag"},{"type":"null","description":"Icon identifier or URL for the tag"}]},"color":{"oneOf":[{"type":"string","description":"Color code for the tag"},{"type":"null","description":"Color code for the tag"}]}},"required":["id","name"]}},{"type":"null","description":"List of tags associated with the company","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the tag"},"name":{"type":"string","description":"Name of the tag"},"description":{"oneOf":[{"type":"string","description":"Description of the tag"},{"type":"null","description":"Description of the tag"}]},"icon":{"oneOf":[{"type":"string","description":"Icon identifier or URL for the tag"},{"type":"null","description":"Icon identifier or URL for the tag"}]},"color":{"oneOf":[{"type":"string","description":"Color code for the tag"},{"type":"null","description":"Color code for the tag"}]}},"required":["id","name"]}}]},"default_shipping":{"oneOf":[{"description":"Default shipping address","type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the shipping address","example":789},"created_at":{"type":"string","format":"date-time","description":"When the shipping address was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the shipping address was last updated","example":"2023-03-15T14:30:00Z"},"company_id":{"type":"integer","description":"ID of the company this shipping address belongs to","example":123456},"company_name":{"oneOf":[{"type":"string","description":"Name of the company","example":"Acme Corporation"},{"type":"null","description":"Name of the company","example":"Acme Corporation"}]},"address":{"type":"string","description":"Street address","example":"456 Warehouse Blvd"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Building 2"},{"type":"null","description":"Additional address information","example":"Building 2"}]},"city":{"type":"string","description":"City","example":"Austin"},"state":{"type":"string","description":"State/province","example":"TX"},"postal_code":{"type":"string","description":"Postal/ZIP code","example":"78745"},"country":{"type":"string","description":"Country","example":"USA"},"full_address":{"type":"string","description":"Complete formatted address","example":"456 Warehouse Blvd, Building 2, Austin, TX 78745, USA"},"full_name":{"type":"string","description":"Full name of the contact person","example":"John Doe"},"first_name":{"oneOf":[{"type":"string","description":"First name of the contact person","example":"John"},{"type":"null","description":"First name of the contact person","example":"John"}]},"last_name":{"oneOf":[{"type":"string","description":"Last name of the contact person","example":"Doe"},{"type":"null","description":"Last name of the contact person","example":"Doe"}]},"phone":{"oneOf":[{"type":"string","description":"Phone number","example":"555-987-6543"},{"type":"null","description":"Phone number","example":"555-987-6543"}]},"email":{"oneOf":[{"type":"string","format":"email","description":"Email address","example":"shipping@acmecorp.com"},{"type":"null","format":"email","description":"Email address","example":"shipping@acmecorp.com"}]},"is_default":{"type":"boolean","description":"Whether this is the default shipping address","example":true}},"required":["id","company_id","address","city","state","postal_code","country"]},{"description":"Default shipping address","type":"null","properties":{"id":{"type":"integer","description":"Unique identifier for the shipping address","example":789},"created_at":{"type":"string","format":"date-time","description":"When the shipping address was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the shipping address was last updated","example":"2023-03-15T14:30:00Z"},"company_id":{"type":"integer","description":"ID of the company this shipping address belongs to","example":123456},"company_name":{"oneOf":[{"type":"string","description":"Name of the company","example":"Acme Corporation"},{"type":"null","description":"Name of the company","example":"Acme Corporation"}]},"address":{"type":"string","description":"Street address","example":"456 Warehouse Blvd"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Building 2"},{"type":"null","description":"Additional address information","example":"Building 2"}]},"city":{"type":"string","description":"City","example":"Austin"},"state":{"type":"string","description":"State/province","example":"TX"},"postal_code":{"type":"string","description":"Postal/ZIP code","example":"78745"},"country":{"type":"string","description":"Country","example":"USA"},"full_address":{"type":"string","description":"Complete formatted address","example":"456 Warehouse Blvd, Building 2, Austin, TX 78745, USA"},"full_name":{"type":"string","description":"Full name of the contact person","example":"John Doe"},"first_name":{"oneOf":[{"type":"string","description":"First name of the contact person","example":"John"},{"type":"null","description":"First name of the contact person","example":"John"}]},"last_name":{"oneOf":[{"type":"string","description":"Last name of the contact person","example":"Doe"},{"type":"null","description":"Last name of the contact person","example":"Doe"}]},"phone":{"oneOf":[{"type":"string","description":"Phone number","example":"555-987-6543"},{"type":"null","description":"Phone number","example":"555-987-6543"}]},"email":{"oneOf":[{"type":"string","format":"email","description":"Email address","example":"shipping@acmecorp.com"},{"type":"null","format":"email","description":"Email address","example":"shipping@acmecorp.com"}]},"is_default":{"type":"boolean","description":"Whether this is the default shipping address","example":true}},"required":["id","company_id","address","city","state","postal_code","country"]}]},"shipping_addresses":{"oneOf":[{"type":"array","description":"List of shipping addresses for the company","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the shipping address","example":789},"created_at":{"type":"string","format":"date-time","description":"When the shipping address was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the shipping address was last updated","example":"2023-03-15T14:30:00Z"},"company_id":{"type":"integer","description":"ID of the company this shipping address belongs to","example":123456},"company_name":{"oneOf":[{"type":"string","description":"Name of the company","example":"Acme Corporation"},{"type":"null","description":"Name of the company","example":"Acme Corporation"}]},"address":{"type":"string","description":"Street address","example":"456 Warehouse Blvd"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Building 2"},{"type":"null","description":"Additional address information","example":"Building 2"}]},"city":{"type":"string","description":"City","example":"Austin"},"state":{"type":"string","description":"State/province","example":"TX"},"postal_code":{"type":"string","description":"Postal/ZIP code","example":"78745"},"country":{"type":"string","description":"Country","example":"USA"},"full_address":{"type":"string","description":"Complete formatted address","example":"456 Warehouse Blvd, Building 2, Austin, TX 78745, USA"},"full_name":{"type":"string","description":"Full name of the contact person","example":"John Doe"},"first_name":{"oneOf":[{"type":"string","description":"First name of the contact person","example":"John"},{"type":"null","description":"First name of the contact person","example":"John"}]},"last_name":{"oneOf":[{"type":"string","description":"Last name of the contact person","example":"Doe"},{"type":"null","description":"Last name of the contact person","example":"Doe"}]},"phone":{"oneOf":[{"type":"string","description":"Phone number","example":"555-987-6543"},{"type":"null","description":"Phone number","example":"555-987-6543"}]},"email":{"oneOf":[{"type":"string","format":"email","description":"Email address","example":"shipping@acmecorp.com"},{"type":"null","format":"email","description":"Email address","example":"shipping@acmecorp.com"}]},"is_default":{"type":"boolean","description":"Whether this is the default shipping address","example":true}},"required":["id","company_id","address","city","state","postal_code","country"]}},{"type":"null","description":"List of shipping addresses for the company","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the shipping address","example":789},"created_at":{"type":"string","format":"date-time","description":"When the shipping address was created","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","description":"When the shipping address was last updated","example":"2023-03-15T14:30:00Z"},"company_id":{"type":"integer","description":"ID of the company this shipping address belongs to","example":123456},"company_name":{"oneOf":[{"type":"string","description":"Name of the company","example":"Acme Corporation"},{"type":"null","description":"Name of the company","example":"Acme Corporation"}]},"address":{"type":"string","description":"Street address","example":"456 Warehouse Blvd"},"address_line_2":{"oneOf":[{"type":"string","description":"Additional address information","example":"Building 2"},{"type":"null","description":"Additional address information","example":"Building 2"}]},"city":{"type":"string","description":"City","example":"Austin"},"state":{"type":"string","description":"State/province","example":"TX"},"postal_code":{"type":"string","description":"Postal/ZIP code","example":"78745"},"country":{"type":"string","description":"Country","example":"USA"},"full_address":{"type":"string","description":"Complete formatted address","example":"456 Warehouse Blvd, Building 2, Austin, TX 78745, USA"},"full_name":{"type":"string","description":"Full name of the contact person","example":"John Doe"},"first_name":{"oneOf":[{"type":"string","description":"First name of the contact person","example":"John"},{"type":"null","description":"First name of the contact person","example":"John"}]},"last_name":{"oneOf":[{"type":"string","description":"Last name of the contact person","example":"Doe"},{"type":"null","description":"Last name of the contact person","example":"Doe"}]},"phone":{"oneOf":[{"type":"string","description":"Phone number","example":"555-987-6543"},{"type":"null","description":"Phone number","example":"555-987-6543"}]},"email":{"oneOf":[{"type":"string","format":"email","description":"Email address","example":"shipping@acmecorp.com"},{"type":"null","format":"email","description":"Email address","example":"shipping@acmecorp.com"}]},"is_default":{"type":"boolean","description":"Whether this is the default shipping address","example":true}},"required":["id","company_id","address","city","state","postal_code","country"]}}]},"billing_info":{"oneOf":[{"type":"object","description":"Billing information","properties":{"id":{"type":"integer","example":456},"created_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"first_name":{"oneOf":[{"type":"string","example":"Jane"},{"type":"null","example":"Jane"}]},"last_name":{"oneOf":[{"type":"string","example":"Smith"},{"type":"null","example":"Smith"}]},"email":{"oneOf":[{"type":"string","format":"email","example":"accounting@acmecorp.com"},{"type":"null","format":"email","example":"accounting@acmecorp.com"}]},"receiving_bank_name":{"oneOf":[{"type":"string","example":"First National Bank"},{"type":"null","example":"First National Bank"}]},"receiving_bank_address":{"oneOf":[{"type":"string","example":"789 Finance Street, Austin, TX 78701"},{"type":"null","example":"789 Finance Street, Austin, TX 78701"}]}}},{"type":"null","description":"Billing information","properties":{"id":{"type":"integer","example":456},"created_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"first_name":{"oneOf":[{"type":"string","example":"Jane"},{"type":"null","example":"Jane"}]},"last_name":{"oneOf":[{"type":"string","example":"Smith"},{"type":"null","example":"Smith"}]},"email":{"oneOf":[{"type":"string","format":"email","example":"accounting@acmecorp.com"},{"type":"null","format":"email","example":"accounting@acmecorp.com"}]},"receiving_bank_name":{"oneOf":[{"type":"string","example":"First National Bank"},{"type":"null","example":"First National Bank"}]},"receiving_bank_address":{"oneOf":[{"type":"string","example":"789 Finance Street, Austin, TX 78701"},{"type":"null","example":"789 Finance Street, Austin, TX 78701"}]}}}]},"client_type":{"oneOf":[{"type":"object","description":"Type of client","properties":{"id":{"type":"integer","example":123},"created_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"name":{"type":"string","example":"Retail"},"description":{"oneOf":[{"type":"string","example":"Retail business client"},{"type":"null","example":"Retail business client"}]}}},{"type":"null","description":"Type of client","properties":{"id":{"type":"integer","example":123},"created_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"updated_at":{"type":"string","format":"date-time","example":"2023-03-15T14:30:00Z"},"name":{"type":"string","example":"Retail"},"description":{"oneOf":[{"type":"string","example":"Retail business client"},{"type":"null","example":"Retail business client"}]}}}]},"parent_company_id":{"oneOf":[{"type":"integer","description":"ID of the parent company","example":456},{"type":"null","description":"ID of the parent company","example":456}]},"invoice_export_template_id":{"oneOf":[{"type":"integer","description":"ID of the invoice export template","example":789},{"type":"null","description":"ID of the invoice export template","example":789}]},"custom_fields":{"type":"object","description":"Custom fields for the company","example":{"Industry":"Manufacturing","Region":"Southwest","Annual Revenue":"$5M-$10M"}},"assigned_sales_reps":{"type":"array","description":"Sales rep users assigned to this company (Go Team members). Resolved from the company's\n`goTeamMember.user` relation. Only present when the relation is loaded.\n","items":{"type":"object","properties":{"id":{"type":"integer","description":"User ID of the assigned sales rep","example":42},"email":{"type":"string","description":"Email of the assigned sales rep (PII-hashed when PII filtering is enabled)","example":"rep@example.com"},"first_name":{"oneOf":[{"type":"string","example":"Jane"},{"type":"null","example":"Jane"}]},"last_name":{"oneOf":[{"type":"string","example":"Doe"},{"type":"null","example":"Doe"}]}}}},"sales_channel":{"oneOf":[{"type":"object","description":"The company's default sales channel. Only present when the relation is loaded.","properties":{"id":{"type":"integer","description":"Sales channel ID."},"status":{"type":"string","description":"Sales channel status (e.g. active)."},"label":{"oneOf":[{"type":"string","description":"Human-readable channel label."},{"type":"null","description":"Human-readable channel label."}]},"channel_type":{"oneOf":[{"type":"string","description":"Channel type (e.g. the integration/platform the channel represents)."},{"type":"null","description":"Channel type (e.g. the integration/platform the channel represents)."}]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},{"type":"null"}]}},"required":["id","name","status"],"uniqueKey":"data.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company","typeLabel":"object | null"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the order item","uniqueKey":"data.\\items.items.[INDEX].id","typeLabel":"integer"},"line_number":{"type":"integer","description":"Sequential line number for this item on the sales order, only unique within the order, starts at 1","uniqueKey":"data.\\items.items.[INDEX].line_number","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","description":"Creation timestamp","uniqueKey":"data.\\items.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update timestamp","uniqueKey":"data.\\items.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"sku":{"type":"string","description":"Stock keeping unit","uniqueKey":"data.\\items.items.[INDEX].sku","typeLabel":"string"},"name":{"type":"string","description":"Product name","uniqueKey":"data.\\items.items.[INDEX].name","typeLabel":"string"},"image_url":{"type":"string","description":"URL of product image","uniqueKey":"data.\\items.items.[INDEX].image_url","typeLabel":"string"},"weight":{"type":"object","description":"Weight information","uniqueKey":"data.\\items.items.[INDEX].weight","typeLabel":"object"},"quantity":{"type":"number","format":"float","description":"Ordered quantity","uniqueKey":"data.\\items.items.[INDEX].quantity","typeLabel":"number\u003cfloat>"},"unit_price":{"type":"number","format":"float","description":"Price per unit","uniqueKey":"data.\\items.items.[INDEX].unit_price","typeLabel":"number\u003cfloat>"},"tax":{"type":"number","format":"float","description":"Tax amount","uniqueKey":"data.\\items.items.[INDEX].tax","typeLabel":"number\u003cfloat>"},"shipping":{"type":"number","format":"float","description":"Shipping amount","uniqueKey":"data.\\items.items.[INDEX].shipping","typeLabel":"number\u003cfloat>"},"warehouse_location":{"type":"string","description":"Location in warehouse","uniqueKey":"data.\\items.items.[INDEX].warehouse_location","typeLabel":"string"},"options":{"type":"object","description":"Additional options","uniqueKey":"data.\\items.items.[INDEX].options","typeLabel":"object"},"fulfillment_sku":{"type":"string","description":"SKU used for fulfillment","uniqueKey":"data.\\items.items.[INDEX].fulfillment_sku","typeLabel":"string"},"adjustment":{"type":"number","format":"float","description":"Price adjustment","uniqueKey":"data.\\items.items.[INDEX].adjustment","typeLabel":"number\u003cfloat>"},"upc":{"type":"string","description":"Universal Product Code","uniqueKey":"data.\\items.items.[INDEX].upc","typeLabel":"string"},"stock_id":{"type":"integer","description":"Stock identifier","uniqueKey":"data.\\items.items.[INDEX].stock_id","typeLabel":"integer"},"kit_id":{"type":"integer","description":"Kit identifier if part of a kit","uniqueKey":"data.\\items.items.[INDEX].kit_id","typeLabel":"integer"},"non_physical_item":{"type":"boolean","description":"Whether item is non-physical","uniqueKey":"data.\\items.items.[INDEX].non_physical_item","typeLabel":"boolean"},"ignore_item":{"type":"boolean","description":"Whether to ignore this item","uniqueKey":"data.\\items.items.[INDEX].ignore_item","typeLabel":"boolean"},"is_locally_added":{"type":"boolean","description":"True when the line was added in Luminous to a channel-sourced order and exists only in Luminous (it is not part of the order in the source channel and is never pushed back to it). False for lines that came from the channel or were created with the order.","uniqueKey":"data.\\items.items.[INDEX].is_locally_added","typeLabel":"boolean"},"quantity_shipped":{"type":"number","format":"float","description":"Quantity shipped","uniqueKey":"data.\\items.items.[INDEX].quantity_shipped","typeLabel":"number\u003cfloat>"},"quantity_cancelled":{"type":"number","format":"float","description":"Quantity cancelled","uniqueKey":"data.\\items.items.[INDEX].quantity_cancelled","typeLabel":"number\u003cfloat>"},"quantity_invoiced":{"type":"number","format":"float","description":"Quantity invoiced","uniqueKey":"data.\\items.items.[INDEX].quantity_invoiced","typeLabel":"number\u003cfloat>"},"quantity_ordered":{"type":"number","format":"float","description":"Quantity ordered, expressed in the product's base unit of measure. When the line was ordered in a non-base unit (see `ordered_uom_id`), this is the converted base-unit equivalent, not the originally submitted quantity.","uniqueKey":"data.\\items.items.[INDEX].quantity_ordered","typeLabel":"number\u003cfloat>"},"base_uom_id":{"type":"integer","description":"ID of the product's base unit of measure — the unit `quantity_ordered` is expressed in.","uniqueKey":"data.\\items.items.[INDEX].base_uom_id","typeLabel":"integer"},"ordered_uom_id":{"type":"integer","description":"ID of the unit of measure the line was ordered in (the `uom_id` submitted on create). May differ from `base_uom_id` when ordering in a non-base unit.","uniqueKey":"data.\\items.items.[INDEX].ordered_uom_id","typeLabel":"integer"},"product_id":{"type":"integer","description":"Product identifier","uniqueKey":"data.\\items.items.[INDEX].product_id","typeLabel":"integer"},"total_returned_base_quantity":{"type":"number","format":"float","description":"Total quantity returned","uniqueKey":"data.\\items.items.[INDEX].total_returned_base_quantity","typeLabel":"number\u003cfloat>"},"parent_id":{"type":"integer","description":"Parent item ID","uniqueKey":"data.\\items.items.[INDEX].parent_id","typeLabel":"integer"},"status":{"type":"string","description":"Item status","uniqueKey":"data.\\items.items.[INDEX].status","typeLabel":"string"},"discount":{"type":"number","format":"float","description":"Discount amount","uniqueKey":"data.\\items.items.[INDEX].discount","typeLabel":"number\u003cfloat>"},"estimated_ship_date":{"type":"string","format":"date","description":"Estimated shipping date","uniqueKey":"data.\\items.items.[INDEX].estimated_ship_date","typeLabel":"string\u003cdate>"},"custom_fields":{"type":"object","description":"Dynamic custom fields with key-value pairs","additionalProperties":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].custom_fields.additionalProperties","typeLabel":"string"},"uniqueKey":"data.\\items.items.[INDEX].custom_fields","typeLabel":"object"},"product":{"type":"object","description":"Product information","properties":{"id":{"type":"integer","description":"Unique identifier for the product","uniqueKey":"data.\\items.items.[INDEX].product.id","typeLabel":"integer"},"name":{"type":"string","description":"Product name","uniqueKey":"data.\\items.items.[INDEX].product.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Product description","uniqueKey":"data.\\items.items.[INDEX].product.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Product description","uniqueKey":"data.\\items.items.[INDEX].product.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.description","typeLabel":"string | null"},"retail_price":{"type":"number","format":"float","description":"Retail price","uniqueKey":"data.\\items.items.[INDEX].product.retail_price","typeLabel":"number\u003cfloat>"},"wholesale_price":{"type":"number","format":"float","description":"Wholesale price","uniqueKey":"data.\\items.items.[INDEX].product.wholesale_price","typeLabel":"number\u003cfloat>"},"unit_cost":{"type":"number","format":"float","description":"Cost per unit","uniqueKey":"data.\\items.items.[INDEX].product.unit_cost","typeLabel":"number\u003cfloat>"},"product_weight":{"type":"number","format":"float","description":"Weight of the product","uniqueKey":"data.\\items.items.[INDEX].product.product_weight","typeLabel":"number\u003cfloat>"},"product_length":{"type":"number","format":"float","description":"Length of the product (in inches)","uniqueKey":"data.\\items.items.[INDEX].product.product_length","typeLabel":"number\u003cfloat>"},"product_width":{"type":"number","format":"float","description":"Width of the product (in inches)","uniqueKey":"data.\\items.items.[INDEX].product.product_width","typeLabel":"number\u003cfloat>"},"product_height":{"type":"number","format":"float","description":"Height of the product (in inches)","uniqueKey":"data.\\items.items.[INDEX].product.product_height","typeLabel":"number\u003cfloat>"},"sellable":{"type":"boolean","description":"Whether the product can be sold","uniqueKey":"data.\\items.items.[INDEX].product.sellable","typeLabel":"boolean"},"discontinued":{"type":"boolean","description":"Whether the product is discontinued. Discontinued products will be hidden in the Luminous UI by default.","uniqueKey":"data.\\items.items.[INDEX].product.discontinued","typeLabel":"boolean"},"image_url":{"oneOf":[{"type":"string","description":"URL to the product's main image","uniqueKey":"data.\\items.items.[INDEX].product.image_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to the product's main image","uniqueKey":"data.\\items.items.[INDEX].product.image_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.image_url","typeLabel":"string | null"},"category":{"oneOf":[{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.\\items.items.[INDEX].product.category.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.category.oneOf.0.name","typeLabel":"string"}},"description":"Product category information","uniqueKey":"data.\\items.items.[INDEX].product.category.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"description":"Product category information","uniqueKey":"data.\\items.items.[INDEX].product.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.category","typeLabel":"object | null"},"subcategory":{"oneOf":[{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.\\items.items.[INDEX].product.subcategory.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.subcategory.oneOf.0.name","typeLabel":"string"}},"description":"Product subcategory information","uniqueKey":"data.\\items.items.[INDEX].product.subcategory.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"description":"Product subcategory information","uniqueKey":"data.\\items.items.[INDEX].product.subcategory.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.subcategory","typeLabel":"object | null"},"custom_fields":{"type":"object","description":"Dynamic custom fields with key-value pairs","additionalProperties":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.custom_fields.additionalProperties","typeLabel":"string"},"uniqueKey":"data.\\items.items.[INDEX].product.custom_fields","typeLabel":"object"},"variant_attributes":{"oneOf":[{"type":"object","description":"Available variant attributes","uniqueKey":"data.\\items.items.[INDEX].product.variant_attributes.oneOf.0","typeLabel":"object"},{"type":"null","description":"Available variant attributes","uniqueKey":"data.\\items.items.[INDEX].product.variant_attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.variant_attributes","typeLabel":"object | null"},"sku":{"type":"string","description":"Internal SKU","uniqueKey":"data.\\items.items.[INDEX].product.sku","typeLabel":"string"},"alternate_skus":{"type":"array","description":"Alternate SKUs","items":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.\\items.items.[INDEX].product.alternate_skus.items.[INDEX].id","typeLabel":"integer"},"sku":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.alternate_skus.items.[INDEX].sku","typeLabel":"string"}},"uniqueKey":"data.\\items.items.[INDEX].product.alternate_skus.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.\\items.items.[INDEX].product.alternate_skus","typeLabel":"object[]"},"upc":{"type":"string","description":"UPC/Barcode","uniqueKey":"data.\\items.items.[INDEX].product.upc","typeLabel":"string"},"tags":{"type":"array","description":"Tags associated with the product","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the tag","isRequired":true,"uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","description":"Name of the tag","isRequired":true,"uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the tag","uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the tag","uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].description","typeLabel":"string | null"},"icon":{"oneOf":[{"type":"string","description":"Icon identifier or URL for the tag","uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].icon.oneOf.0","typeLabel":"string"},{"type":"null","description":"Icon identifier or URL for the tag","uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].icon","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","description":"Color code for the tag","uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].color.oneOf.0","typeLabel":"string"},{"type":"null","description":"Color code for the tag","uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].color.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX].color","typeLabel":"string | null"}},"required":["id","name"],"uniqueKey":"data.\\items.items.[INDEX].product.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.\\items.items.[INDEX].product.tags","typeLabel":"object[]"},"supplier":{"oneOf":[{"type":"object","description":"Supplier information","uniqueKey":"data.\\items.items.[INDEX].product.supplier.oneOf.0","typeLabel":"object"},{"type":"null","description":"Supplier information","uniqueKey":"data.\\items.items.[INDEX].product.supplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.supplier","typeLabel":"object | null"},"type":{"type":"string","enum":["PRODUCT","KIT"],"description":"Product type. PRODUCT for regular products, KIT for kit products that contain other products as components.","uniqueKey":"data.\\items.items.[INDEX].product.type","typeLabel":"enum\u003cstring>"},"kit_items":{"oneOf":[{"type":"array","description":"Kit components for KIT products. Only present when the bill of materials is loaded, which today is on `GET /pickflow/picklists` (full view) and `GET /pickflow/picklists/{id}`, where a sales-order picklist has no fulfillment-order breakdown and the picking app expands each kit line into its components (CS-11261). Absent on other sales-order responses.","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the kit item","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].id","typeLabel":"integer"},"product_id":{"type":"integer","description":"ID of the product component","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product_id","typeLabel":"integer"},"quantity":{"type":"number","format":"float","description":"Quantity of this component in the kit","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cfloat>"},"uom_id":{"type":"integer","description":"Unit of measure ID for the quantity","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].uom_id","typeLabel":"integer"},"base_uom_quantity":{"type":"number","format":"float","description":"Quantity converted to base unit of measure","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].base_uom_quantity","typeLabel":"number\u003cfloat>"},"price":{"type":"number","format":"float","description":"Price for this kit item","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].price","typeLabel":"number\u003cfloat>"},"original_price":{"type":"number","format":"float","description":"Original price for this kit item","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].original_price","typeLabel":"number\u003cfloat>"},"total":{"type":"number","format":"float","description":"Calculated total (quantity * price)","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].total","typeLabel":"number\u003cfloat>"},"product":{"oneOf":[{"type":"object","description":"Product information for this kit item (when loaded)","properties":{"id":{"type":"integer","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0.name","typeLabel":"string"},"sku":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0.sku","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0.description","typeLabel":"string | null"},"retail_price":{"type":"number","format":"float","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0.retail_price","typeLabel":"number\u003cfloat>"},"wholesale_price":{"type":"number","format":"float","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0.wholesale_price","typeLabel":"number\u003cfloat>"}},"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.0","typeLabel":"object"},{"type":"null","description":"Product information for this kit item (when loaded)","properties":{"id":{"type":"integer"},"name":{"type":"string"},"sku":{"type":"string"},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"retail_price":{"type":"number","format":"float"},"wholesale_price":{"type":"number","format":"float"}},"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].product","typeLabel":"object | null"},"unit_of_measure":{"oneOf":[{"type":"object","description":"Unit of measure information (when loaded)","properties":{"id":{"type":"integer","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure.oneOf.0.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure.oneOf.0.description","typeLabel":"string | null"},"base_unit":{"type":"boolean","uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure.oneOf.0.base_unit","typeLabel":"boolean"}},"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure.oneOf.0","typeLabel":"object"},{"type":"null","description":"Unit of measure information (when loaded)","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"base_unit":{"type":"boolean"}},"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX].unit_of_measure","typeLabel":"object | null"}},"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Kit components for KIT products. Only present when the bill of materials is loaded, which today is on `GET /pickflow/picklists` (full view) and `GET /pickflow/picklists/{id}`, where a sales-order picklist has no fulfillment-order breakdown and the picking app expands each kit line into its components (CS-11261). Absent on other sales-order responses.","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the kit item"},"product_id":{"type":"integer","description":"ID of the product component"},"quantity":{"type":"number","format":"float","description":"Quantity of this component in the kit"},"uom_id":{"type":"integer","description":"Unit of measure ID for the quantity"},"base_uom_quantity":{"type":"number","format":"float","description":"Quantity converted to base unit of measure"},"price":{"type":"number","format":"float","description":"Price for this kit item"},"original_price":{"type":"number","format":"float","description":"Original price for this kit item"},"total":{"type":"number","format":"float","description":"Calculated total (quantity * price)"},"product":{"oneOf":[{"type":"object","description":"Product information for this kit item (when loaded)","properties":{"id":{"type":"integer"},"name":{"type":"string"},"sku":{"type":"string"},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"retail_price":{"type":"number","format":"float"},"wholesale_price":{"type":"number","format":"float"}}},{"type":"null","description":"Product information for this kit item (when loaded)","properties":{"id":{"type":"integer"},"name":{"type":"string"},"sku":{"type":"string"},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"retail_price":{"type":"number","format":"float"},"wholesale_price":{"type":"number","format":"float"}}}]},"unit_of_measure":{"oneOf":[{"type":"object","description":"Unit of measure information (when loaded)","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"base_unit":{"type":"boolean"}}},{"type":"null","description":"Unit of measure information (when loaded)","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"base_unit":{"type":"boolean"}}}]}}},"uniqueKey":"data.\\items.items.[INDEX].product.kit_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].product.kit_items","typeLabel":"object[] | null"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the product was created","uniqueKey":"data.\\items.items.[INDEX].product.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the product was last updated","uniqueKey":"data.\\items.items.[INDEX].product.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.\\items.items.[INDEX].product","typeLabel":"object"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.\\items.items.[INDEX].tags.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].tags.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].tags.items.[INDEX].description","typeLabel":"string"},"icon":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].tags.items.[INDEX].icon","typeLabel":"string"},"color":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].tags.items.[INDEX].color","typeLabel":"string"},"discount_structure":{"type":"object","uniqueKey":"data.\\items.items.[INDEX].tags.items.[INDEX].discount_structure","typeLabel":"object"},"markup_structure":{"type":"object","uniqueKey":"data.\\items.items.[INDEX].tags.items.[INDEX].markup_structure","typeLabel":"object"}},"uniqueKey":"data.\\items.items.[INDEX].tags.items.[INDEX]","typeLabel":"object"},"description":"Tags associated with the sales order item","uniqueKey":"data.\\items.items.[INDEX].tags","typeLabel":"object[]"}},"uniqueKey":"data.\\items.items.[INDEX]","typeLabel":"object"},"description":"Line items in the order","uniqueKey":"data.\\items","typeLabel":"object[]"},"fulfillment_orders":{"type":"array","description":"Fulfillment orders created from this sales order, in the same shape as GET /fulfillment-orders (including `fulfillment_order_items` with kit component rows). Present when the relation is loaded.","items":{"type":"object","properties":{"id":{"type":"integer","description":"Fulfillment order ID","uniqueKey":"data.fulfillment_orders.items.[INDEX].id","typeLabel":"integer"},"order_number":{"type":"string","description":"Fulfillment order number","uniqueKey":"data.fulfillment_orders.items.[INDEX].order_number","typeLabel":"string"},"order_key":{"oneOf":[{"type":"string","description":"Fulfillment order key","uniqueKey":"data.fulfillment_orders.items.[INDEX].order_key.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fulfillment order key","uniqueKey":"data.fulfillment_orders.items.[INDEX].order_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].order_key","typeLabel":"string | null"},"order_status":{"type":"string","description":"Fulfillment order status","uniqueKey":"data.fulfillment_orders.items.[INDEX].order_status","typeLabel":"string"},"sales_order_id":{"type":"integer","description":"Associated sales order ID","uniqueKey":"data.fulfillment_orders.items.[INDEX].sales_order_id","typeLabel":"integer"},"warehouse_group_id":{"oneOf":[{"type":"integer","description":"Warehouse group ID","uniqueKey":"data.fulfillment_orders.items.[INDEX].warehouse_group_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Warehouse group ID","uniqueKey":"data.fulfillment_orders.items.[INDEX].warehouse_group_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].warehouse_group_id","typeLabel":"integer | null"},"destination_oms_id":{"oneOf":[{"type":"integer","description":"Destination app integration account ID","uniqueKey":"data.fulfillment_orders.items.[INDEX].destination_oms_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Destination app integration account ID","uniqueKey":"data.fulfillment_orders.items.[INDEX].destination_oms_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].destination_oms_id","typeLabel":"integer | null"},"destination_oms_store_id":{"oneOf":[{"type":"integer","uniqueKey":"data.fulfillment_orders.items.[INDEX].destination_oms_store_id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].destination_oms_store_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].destination_oms_store_id","typeLabel":"integer | null"},"fulfillment_channel_id":{"oneOf":[{"type":"integer","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_channel_id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_channel_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_channel_id","typeLabel":"integer | null"},"pushed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.fulfillment_orders.items.[INDEX].pushed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.fulfillment_orders.items.[INDEX].pushed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].pushed_at","typeLabel":"string\u003cdate-time> | null"},"packing_slip_printed_at":{"oneOf":[{"type":"string","format":"date-time","description":"When a packing slip for this fulfillment order was last successfully exported or sent to a print station (ISO-8601). `null` when the slip has not been printed.","uniqueKey":"data.fulfillment_orders.items.[INDEX].packing_slip_printed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When a packing slip for this fulfillment order was last successfully exported or sent to a print station (ISO-8601). `null` when the slip has not been printed.","uniqueKey":"data.fulfillment_orders.items.[INDEX].packing_slip_printed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].packing_slip_printed_at","typeLabel":"string\u003cdate-time> | null"},"error_message":{"oneOf":[{"type":"string","description":"Last push error from the destination OMS, when the fulfillment order is in Error status","uniqueKey":"data.fulfillment_orders.items.[INDEX].error_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Last push error from the destination OMS, when the fulfillment order is in Error status","uniqueKey":"data.fulfillment_orders.items.[INDEX].error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].error_message","typeLabel":"string | null"},"ship_by_date":{"oneOf":[{"type":"string","format":"date","description":"Ship by date","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_by_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Ship by date","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_by_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_by_date","typeLabel":"string\u003cdate> | null"},"total":{"oneOf":[{"type":"number","format":"float","description":"Order total","uniqueKey":"data.fulfillment_orders.items.[INDEX].total.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","description":"Order total","uniqueKey":"data.fulfillment_orders.items.[INDEX].total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].total","typeLabel":"number\u003cfloat> | null"},"bill_to":{"oneOf":[{"type":"object","description":"Billing address","properties":{"name":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.name","typeLabel":"string"},"company":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.company","typeLabel":"string"},"street1":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.street2","typeLabel":"string"},"street3":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.street3","typeLabel":"string"},"city":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.state","typeLabel":"string"},"postal_code":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.postal_code","typeLabel":"string"},"country":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.country","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0.phone","typeLabel":"string"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.0","typeLabel":"object"},{"type":"null","description":"Billing address","properties":{"name":{"type":"string"},"company":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"street3":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postal_code":{"type":"string"},"country":{"type":"string"},"phone":{"type":"string"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].bill_to","typeLabel":"object | null"},"ship_to":{"oneOf":[{"type":"object","description":"Shipping address","properties":{"name":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.name","typeLabel":"string"},"company":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.company","typeLabel":"string"},"street1":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.street2","typeLabel":"string"},"street3":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.street3","typeLabel":"string"},"city":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.state","typeLabel":"string"},"postal_code":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.postal_code","typeLabel":"string"},"country":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.country","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0.phone","typeLabel":"string"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shipping address","properties":{"name":{"type":"string"},"company":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"street3":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postal_code":{"type":"string"},"country":{"type":"string"},"phone":{"type":"string"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].ship_to","typeLabel":"object | null"},"invoice_to":{"oneOf":[{"type":"object","description":"Invoice address","properties":{"name":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.name","typeLabel":"string"},"company":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.company","typeLabel":"string"},"street1":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.street2","typeLabel":"string"},"street3":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.street3","typeLabel":"string"},"city":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.state","typeLabel":"string"},"postal_code":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.postal_code","typeLabel":"string"},"country":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.country","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0.phone","typeLabel":"string"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.0","typeLabel":"object"},{"type":"null","description":"Invoice address","properties":{"name":{"type":"string"},"company":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"street3":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postal_code":{"type":"string"},"country":{"type":"string"},"phone":{"type":"string"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].invoice_to","typeLabel":"object | null"},"sales_order":{"oneOf":[{"type":"object","description":"Nested sales order data","uniqueKey":"data.fulfillment_orders.items.[INDEX].sales_order.oneOf.0","typeLabel":"object"},{"type":"null","description":"Nested sales order data","uniqueKey":"data.fulfillment_orders.items.[INDEX].sales_order.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].sales_order","typeLabel":"object | null"},"picklists":{"type":"array","description":"Associated picklists","items":{"type":"object","uniqueKey":"data.fulfillment_orders.items.[INDEX].picklists.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fulfillment_orders.items.[INDEX].picklists","typeLabel":"object[]"},"fulfillment_order_items":{"type":"array","description":"Fulfillment order line items. Kit SKUs are broken out into their components: when the channel already expanded a kit into component lines at creation, those stored lines are returned with `is_kit_component: true`. When the fulfillment order stores a single kit line, that kit line is returned and is followed by read-only component rows built from the kit's bill of materials (`is_synthetic: true`, `id: null`, `unit_price: 0`, `parent_fulfillment_order_item_id` pointing at the kit line).","items":{"type":"object","properties":{"id":{"oneOf":[{"type":"integer","description":"Fulfillment order line ID. `null` for synthetic kit component rows.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Fulfillment order line ID. `null` for synthetic kit component rows.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].id","typeLabel":"integer | null"},"shipment_id":{"oneOf":[{"type":"integer","description":"ID of the fulfillment order this line belongs to.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].shipment_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the fulfillment order this line belongs to.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].shipment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].shipment_id","typeLabel":"integer | null"},"status":{"oneOf":[{"description":"Line status.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].status.oneOf.0","typeLabel":"any"},{"description":"Line status.","type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].status","typeLabel":"any | null"},"sales_order_item_id":{"oneOf":[{"type":"integer","description":"Sales order line this fulfillment line fulfills. On synthetic component rows, the kit's sales order line.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].sales_order_item_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Sales order line this fulfillment line fulfills. On synthetic component rows, the kit's sales order line.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].sales_order_item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].sales_order_item_id","typeLabel":"integer | null"},"product_id":{"oneOf":[{"type":"integer","description":"Luminous product ID. For a kit line this is the kit product; for a component row it is the component product.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].product_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Luminous product ID. For a kit line this is the kit product; for a component row it is the component product.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].product_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].product_id","typeLabel":"integer | null"},"sku":{"oneOf":[{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].sku.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].sku.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].sku","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].name","typeLabel":"string | null"},"weight":{"oneOf":[{"description":"Stored line weight (decoded JSON). Always `null` on synthetic component rows.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].weight.oneOf.0","typeLabel":"any"},{"description":"Stored line weight (decoded JSON). Always `null` on synthetic component rows.","type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].weight.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].weight","typeLabel":"any | null"},"dimensions":{"oneOf":[{"description":"Stored line dimensions (decoded JSON). Always `null` on synthetic component rows.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].dimensions.oneOf.0","typeLabel":"any"},{"description":"Stored line dimensions (decoded JSON). Always `null` on synthetic component rows.","type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].dimensions.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].dimensions","typeLabel":"any | null"},"quantity":{"type":"number","description":"Quantity in selling units. For a synthetic component row, the kit line quantity multiplied by the component quantity per kit.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].quantity","typeLabel":"number"},"unit_price":{"type":"number","description":"Unit price. Always `0` on synthetic component rows.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].unit_price","typeLabel":"number"},"lot_id":{"oneOf":[{"type":"integer","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].lot_id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].lot_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].lot_id","typeLabel":"integer | null"},"lot_number":{"oneOf":[{"type":"string","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].lot_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].lot_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].lot_number","typeLabel":"string | null"},"expiry_date":{"oneOf":[{"type":"string","description":"Lot expiry date.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].expiry_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"Lot expiry date.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].expiry_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].expiry_date","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"is_kit_component":{"type":"boolean","description":"True when the row is a component of a kit (stored or synthetic).","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].is_kit_component","typeLabel":"boolean"},"parent_fulfillment_order_item_id":{"oneOf":[{"type":"integer","description":"On synthetic component rows, the ID of the kit line they were expanded from. Otherwise `null`.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].parent_fulfillment_order_item_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"On synthetic component rows, the ID of the kit line they were expanded from. Otherwise `null`.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].parent_fulfillment_order_item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].parent_fulfillment_order_item_id","typeLabel":"integer | null"},"kit_sales_order_item_id":{"oneOf":[{"type":"integer","description":"On kit component rows, the ID of the kit's sales order line. Otherwise `null`.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].kit_sales_order_item_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"On kit component rows, the ID of the kit's sales order line. Otherwise `null`.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].kit_sales_order_item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].kit_sales_order_item_id","typeLabel":"integer | null"},"is_synthetic":{"type":"boolean","description":"True for read-only component rows built from the kit bill of materials at read time. They have no fulfillment order line ID and cannot be updated.","uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX].is_synthetic","typeLabel":"boolean"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fulfillment_orders.items.[INDEX].fulfillment_order_items","typeLabel":"object[]"},"total_weight":{"oneOf":[{"type":"object","description":"Total product weight of this fulfillment order's own lines, at the fulfillment quantity. Present only when the line items are loaded. A product with no recorded weight contributes nothing, so a total of `0` usually means \"weight unknown\" rather than \"weightless\" — check `is_complete` before treating the total as authoritative.","properties":{"total_oz":{"type":"number","format":"float","description":"Total weight in ounces","uniqueKey":"data.fulfillment_orders.items.[INDEX].total_weight.oneOf.0.total_oz","typeLabel":"number\u003cfloat>"},"total_lb":{"type":"number","format":"float","description":"Total weight in pounds","uniqueKey":"data.fulfillment_orders.items.[INDEX].total_weight.oneOf.0.total_lb","typeLabel":"number\u003cfloat>"},"line_count":{"type":"integer","description":"Number of fulfillment order lines","uniqueKey":"data.fulfillment_orders.items.[INDEX].total_weight.oneOf.0.line_count","typeLabel":"integer"},"weighed_line_count":{"type":"integer","description":"Number of lines that had a usable weight and contributed to the total","uniqueKey":"data.fulfillment_orders.items.[INDEX].total_weight.oneOf.0.weighed_line_count","typeLabel":"integer"},"is_complete":{"type":"boolean","description":"True only when there is at least one line and every line contributed a weight. When false, the total omits one or more lines whose product has no recorded weight.","uniqueKey":"data.fulfillment_orders.items.[INDEX].total_weight.oneOf.0.is_complete","typeLabel":"boolean"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].total_weight.oneOf.0","typeLabel":"object"},{"type":"null","description":"Total product weight of this fulfillment order's own lines, at the fulfillment quantity. Present only when the line items are loaded. A product with no recorded weight contributes nothing, so a total of `0` usually means \"weight unknown\" rather than \"weightless\" — check `is_complete` before treating the total as authoritative.","properties":{"total_oz":{"type":"number","format":"float","description":"Total weight in ounces"},"total_lb":{"type":"number","format":"float","description":"Total weight in pounds"},"line_count":{"type":"integer","description":"Number of fulfillment order lines"},"weighed_line_count":{"type":"integer","description":"Number of lines that had a usable weight and contributed to the total"},"is_complete":{"type":"boolean","description":"True only when there is at least one line and every line contributed a weight. When false, the total omits one or more lines whose product has no recorded weight."}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].total_weight.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].total_weight","typeLabel":"object | null"},"tags":{"type":"array","description":"Tags attached directly to this fulfillment order. Present when the relation is loaded. Tags inherited from the parent sales order are not included.","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the tag","isRequired":true,"uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","description":"Name of the tag","isRequired":true,"uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the tag","uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the tag","uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].description","typeLabel":"string | null"},"icon":{"oneOf":[{"type":"string","description":"Icon identifier or URL for the tag","uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].icon.oneOf.0","typeLabel":"string"},{"type":"null","description":"Icon identifier or URL for the tag","uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].icon","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","description":"Color code for the tag","uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].color.oneOf.0","typeLabel":"string"},{"type":"null","description":"Color code for the tag","uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].color.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX].color","typeLabel":"string | null"}},"required":["id","name"],"uniqueKey":"data.fulfillment_orders.items.[INDEX].tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fulfillment_orders.items.[INDEX].tags","typeLabel":"object[]"},"purchase_orders":{"type":"array","description":"Linked purchase orders. Present when the relation is loaded; deduplicated by ID.","items":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.fulfillment_orders.items.[INDEX].purchase_orders.items.[INDEX].id","typeLabel":"integer"},"order_status":{"oneOf":[{"type":"string","enum":["active","deleted","completed"],"uniqueKey":"data.fulfillment_orders.items.[INDEX].purchase_orders.items.[INDEX].order_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["active","deleted","completed"],"uniqueKey":"data.fulfillment_orders.items.[INDEX].purchase_orders.items.[INDEX].order_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].purchase_orders.items.[INDEX].order_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX].purchase_orders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fulfillment_orders.items.[INDEX].purchase_orders","typeLabel":"object[]"},"source_reference_identifier":{"oneOf":[{"type":"string","description":"The source system's reference identifier for this fulfillment order (e.g. the originating OMS order ID)","uniqueKey":"data.fulfillment_orders.items.[INDEX].source_reference_identifier.oneOf.0","typeLabel":"string"},{"type":"null","description":"The source system's reference identifier for this fulfillment order (e.g. the originating OMS order ID)","uniqueKey":"data.fulfillment_orders.items.[INDEX].source_reference_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fulfillment_orders.items.[INDEX].source_reference_identifier","typeLabel":"string | null"},"held_for_item_change":{"type":"boolean","description":"True when the fulfillment order is on hold because its sales order's items changed after it was started and nobody has reviewed the change in Luminous yet. Always false once the fulfillment order is shipped, partially shipped or cancelled.","uniqueKey":"data.fulfillment_orders.items.[INDEX].held_for_item_change","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"When the fulfillment order was created","uniqueKey":"data.fulfillment_orders.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the fulfillment order was last updated","uniqueKey":"data.fulfillment_orders.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.fulfillment_orders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fulfillment_orders","typeLabel":"object[]"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.tags.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"data.tags.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"data.tags.items.[INDEX].description","typeLabel":"string"},"icon":{"type":"string","uniqueKey":"data.tags.items.[INDEX].icon","typeLabel":"string"},"color":{"type":"string","uniqueKey":"data.tags.items.[INDEX].color","typeLabel":"string"},"discount_structure":{"type":"object","uniqueKey":"data.tags.items.[INDEX].discount_structure","typeLabel":"object"},"markup_structure":{"type":"object","uniqueKey":"data.tags.items.[INDEX].markup_structure","typeLabel":"object"}},"uniqueKey":"data.tags.items.[INDEX]","typeLabel":"object"},"description":"Tags associated with the order","uniqueKey":"data.tags","typeLabel":"object[]"},"shipments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the shipment","uniqueKey":"data.shipments.items.[INDEX].id","typeLabel":"integer"},"sales_order_id":{"type":"integer","description":"ID of the associated sales order","uniqueKey":"data.shipments.items.[INDEX].sales_order_id","typeLabel":"integer"},"shipped_by_user":{"oneOf":[{"description":"Luminous user who marked the parent sales order shipped, or `null` when not set. Who picked and packed is not stored on the shipment; see `picked_by_user` / `packed_by_user` on picklists.","type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.shipments.items.[INDEX].shipped_by_user.oneOf.0.id","typeLabel":"integer"},"name":{"oneOf":[{"type":"string","uniqueKey":"data.shipments.items.[INDEX].shipped_by_user.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.shipments.items.[INDEX].shipped_by_user.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].shipped_by_user.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"data.shipments.items.[INDEX].shipped_by_user.oneOf.0","typeLabel":"object"},{"description":"Luminous user who marked the parent sales order shipped, or `null` when not set. Who picked and packed is not stored on the shipment; see `picked_by_user` / `packed_by_user` on picklists.","type":"null","properties":{"id":{"type":"integer"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"data.shipments.items.[INDEX].shipped_by_user.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].shipped_by_user","typeLabel":"object | null"},"ship_date":{"type":"string","format":"date","description":"Date when the shipment was or will be sent","uniqueKey":"data.shipments.items.[INDEX].ship_date","typeLabel":"string\u003cdate>"},"tracking_number":{"type":"string","description":"Tracking number for the shipment","uniqueKey":"data.shipments.items.[INDEX].tracking_number","typeLabel":"string"},"tracking_url":{"oneOf":[{"type":"string","description":"Tracking URL for the shipment. This is the stored URL, or a carrier URL built from the\ntracking number when carrier tracking links are enabled for the tenant.\n","uniqueKey":"data.shipments.items.[INDEX].tracking_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tracking URL for the shipment. This is the stored URL, or a carrier URL built from the\ntracking number when carrier tracking links are enabled for the tenant.\n","uniqueKey":"data.shipments.items.[INDEX].tracking_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].tracking_url","typeLabel":"string | null"},"delivery_status":{"oneOf":[{"type":"string","enum":["pre_transit","in_transit","out_for_delivery","delivered","exception",null],"description":"Carrier delivery status from the Luminous label-tracking record that shares this\nshipment's tracking number (and fulfillment order, when the shipment is bound to one).\n`available_for_pickup` is reported as `out_for_delivery`; `failure`, `return_to_sender`,\n`error`, and `cancelled` are reported as `exception`. `null` when Luminous has no\nlabel-tracking record for the shipment (for example a tracking number imported from\nShipStation) or the carrier status is unknown.\n","uniqueKey":"data.shipments.items.[INDEX].delivery_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["pre_transit","in_transit","out_for_delivery","delivered","exception",null],"description":"Carrier delivery status from the Luminous label-tracking record that shares this\nshipment's tracking number (and fulfillment order, when the shipment is bound to one).\n`available_for_pickup` is reported as `out_for_delivery`; `failure`, `return_to_sender`,\n`error`, and `cancelled` are reported as `exception`. `null` when Luminous has no\nlabel-tracking record for the shipment (for example a tracking number imported from\nShipStation) or the carrier status is unknown.\n","uniqueKey":"data.shipments.items.[INDEX].delivery_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].delivery_status","typeLabel":"enum\u003cstring> | null"},"delivered_at":{"oneOf":[{"type":"string","format":"date-time","description":"Delivery timestamp from the same label-tracking record as `delivery_status`. `null` when\nthere is no tracking record or the shipment has not been delivered.\n","uniqueKey":"data.shipments.items.[INDEX].delivered_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Delivery timestamp from the same label-tracking record as `delivery_status`. `null` when\nthere is no tracking record or the shipment has not been delivered.\n","uniqueKey":"data.shipments.items.[INDEX].delivered_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].delivered_at","typeLabel":"string\u003cdate-time> | null"},"bol_number":{"type":"string","description":"Bill of Lading Number for logistics tracking","example":"BOL-123456789","uniqueKey":"data.shipments.items.[INDEX].bol_number","typeLabel":"string"},"pro_number":{"type":"string","description":"Progressive Rotating Order Number (common in LTL shipping)","example":"PRO-987654321","uniqueKey":"data.shipments.items.[INDEX].pro_number","typeLabel":"string"},"partner_reference_number":{"type":"string","description":"General reference number from/for the shipping partner","example":"PARTNER-REF-001","uniqueKey":"data.shipments.items.[INDEX].partner_reference_number","typeLabel":"string"},"is_return":{"type":"boolean","description":"Whether this is a return shipment","uniqueKey":"data.shipments.items.[INDEX].is_return","typeLabel":"boolean"},"carrier_code":{"type":"string","description":"Code identifying the carrier (e.g., ups, fedex)","uniqueKey":"data.shipments.items.[INDEX].carrier_code","typeLabel":"string"},"scac":{"oneOf":[{"type":"string","description":"Standard Carrier Alpha Code (SCAC) for the shipment's carrier; included on outbound EDI 856/810 documents","uniqueKey":"data.shipments.items.[INDEX].scac.oneOf.0","typeLabel":"string"},{"type":"null","description":"Standard Carrier Alpha Code (SCAC) for the shipment's carrier; included on outbound EDI 856/810 documents","uniqueKey":"data.shipments.items.[INDEX].scac.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].scac","typeLabel":"string | null"},"service_code":{"type":"string","description":"Code identifying the shipping service","uniqueKey":"data.shipments.items.[INDEX].service_code","typeLabel":"string"},"package_code":{"type":"string","description":"Code identifying the package type","uniqueKey":"data.shipments.items.[INDEX].package_code","typeLabel":"string"},"shipment_cost":{"type":"number","format":"float","description":"Cost of shipping","uniqueKey":"data.shipments.items.[INDEX].shipment_cost","typeLabel":"number\u003cfloat>"},"insurance_cost":{"type":"number","format":"float","description":"Cost of insurance","uniqueKey":"data.shipments.items.[INDEX].insurance_cost","typeLabel":"number\u003cfloat>"},"warehouse_group_id":{"oneOf":[{"type":"integer","description":"ID of the warehouse group associated with this shipment (from the linked fulfillment order)","uniqueKey":"data.shipments.items.[INDEX].warehouse_group_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the warehouse group associated with this shipment (from the linked fulfillment order)","uniqueKey":"data.shipments.items.[INDEX].warehouse_group_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].warehouse_group_id","typeLabel":"integer | null"},"status":{"type":"integer","description":"Status of the shipment","uniqueKey":"data.shipments.items.[INDEX].status","typeLabel":"integer"},"ship_to":{"type":"object","properties":{"name":{"type":"string","description":"Recipient name","uniqueKey":"data.shipments.items.[INDEX].ship_to.name","typeLabel":"string"},"company":{"type":"string","description":"Company name","uniqueKey":"data.shipments.items.[INDEX].ship_to.company","typeLabel":"string"},"street1":{"type":"string","description":"Primary street address","uniqueKey":"data.shipments.items.[INDEX].ship_to.street1","typeLabel":"string"},"street2":{"type":"string","description":"Secondary street address","uniqueKey":"data.shipments.items.[INDEX].ship_to.street2","typeLabel":"string"},"street3":{"type":"string","description":"Additional street address","uniqueKey":"data.shipments.items.[INDEX].ship_to.street3","typeLabel":"string"},"city":{"type":"string","description":"City","uniqueKey":"data.shipments.items.[INDEX].ship_to.city","typeLabel":"string"},"state":{"type":"string","description":"State/province","uniqueKey":"data.shipments.items.[INDEX].ship_to.state","typeLabel":"string"},"postalCode":{"type":"string","description":"Postal/ZIP code","uniqueKey":"data.shipments.items.[INDEX].ship_to.postalCode","typeLabel":"string"},"country":{"type":"string","description":"Country","uniqueKey":"data.shipments.items.[INDEX].ship_to.country","typeLabel":"string"},"phone":{"type":"string","description":"Contact phone number","uniqueKey":"data.shipments.items.[INDEX].ship_to.phone","typeLabel":"string"},"residential":{"type":"boolean","description":"Whether this is a residential address","uniqueKey":"data.shipments.items.[INDEX].ship_to.residential","typeLabel":"boolean"}},"uniqueKey":"data.shipments.items.[INDEX].ship_to","typeLabel":"object"},"weight":{"type":"object","required":["value","units"],"properties":{"value":{"type":"number","format":"float","description":"Weight value","isRequired":true,"uniqueKey":"data.shipments.items.[INDEX].weight.value","typeLabel":"number\u003cfloat>"},"units":{"type":"string","enum":["ounces","pounds","grams","kilograms"],"description":"Unit of weight measurement","isRequired":true,"uniqueKey":"data.shipments.items.[INDEX].weight.units","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.shipments.items.[INDEX].weight","typeLabel":"object"},"dimensions":{"type":"object","required":["units","length","width","height"],"properties":{"units":{"type":"string","enum":["inches","centimeters"],"description":"Unit of dimensional measurement","isRequired":true,"uniqueKey":"data.shipments.items.[INDEX].dimensions.units","typeLabel":"enum\u003cstring>"},"length":{"type":"number","format":"float","description":"Length of the package","isRequired":true,"uniqueKey":"data.shipments.items.[INDEX].dimensions.length","typeLabel":"number\u003cfloat>"},"width":{"type":"number","format":"float","description":"Width of the package","isRequired":true,"uniqueKey":"data.shipments.items.[INDEX].dimensions.width","typeLabel":"number\u003cfloat>"},"height":{"type":"number","format":"float","description":"Height of the package","isRequired":true,"uniqueKey":"data.shipments.items.[INDEX].dimensions.height","typeLabel":"number\u003cfloat>"}},"uniqueKey":"data.shipments.items.[INDEX].dimensions","typeLabel":"object"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for the shipment item","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].id","typeLabel":"integer"},"shipment_id":{"type":"integer","description":"ID of the parent shipment","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].shipment_id","typeLabel":"integer"},"product_id":{"type":"integer","description":"ID of the product being shipped","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].product_id","typeLabel":"integer"},"sales_order_item_id":{"type":"integer","description":"Luminous sales order line-item ID (the internal item primary key) for the line being shipped. This is the value to pass back as `order_item_id` when creating a shipment for this order. For kit/bundle component lines that share a single upstream channel line, each component is still returned with its own distinct `sales_order_item_id`.","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].sales_order_item_id","typeLabel":"integer"},"quantity":{"type":"number","description":"Quantity being shipped, expressed in the same unit of measure the associated sales order line was ordered in (the selling UoM, e.g. cartons) rather than internal base units. When the originating order line cannot be resolved, the stored quantity is returned as-is.","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].quantity","typeLabel":"number"},"weight":{"type":"object","required":["value","units"],"properties":{"value":{"type":"number","format":"float","description":"Weight value","isRequired":true,"uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].weight.value","typeLabel":"number\u003cfloat>"},"units":{"type":"string","enum":["ounces","pounds","grams","kilograms"],"description":"Unit of weight measurement","isRequired":true,"uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].weight.units","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].weight","typeLabel":"object"},"unit_price":{"type":"number","format":"float","description":"Price per unit","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].unit_price","typeLabel":"number\u003cfloat>"},"lot_id":{"oneOf":[{"type":"integer","description":"ID of the lot this shipment item was deducted from (CS-10083). `null` when the line has no lot. Populated from the `lot_id` submitted on shipment create; Luminous no longer re-infers a lot by FEFO/FIFO once a lot is named.","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].lot_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the lot this shipment item was deducted from (CS-10083). `null` when the line has no lot. Populated from the `lot_id` submitted on shipment create; Luminous no longer re-infers a lot by FEFO/FIFO once a lot is named.","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].lot_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].lot_id","typeLabel":"integer | null"},"lot_number":{"oneOf":[{"type":"string","description":"Lot number stamped on the item, falling back to the referenced lot's number when only `lot_id` was submitted. `null` when the line has no lot.","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].lot_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Lot number stamped on the item, falling back to the referenced lot's number when only `lot_id` was submitted. `null` when the line has no lot.","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].lot_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].lot_number","typeLabel":"string | null"},"expiry_date":{"oneOf":[{"type":"string","format":"date","description":"Expiry date of the lot (`YYYY-MM-DD`), falling back to the referenced lot. `null` when the line has no lot.","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].expiry_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Expiry date of the lot (`YYYY-MM-DD`), falling back to the referenced lot. `null` when the line has no lot.","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].expiry_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].expiry_date","typeLabel":"string\u003cdate> | null"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the item was created","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the item was last updated","uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.shipments.items.[INDEX].\\items.items.[INDEX]","typeLabel":"object"},"description":"Items included in this shipment","uniqueKey":"data.shipments.items.[INDEX].\\items","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the shipment was created","uniqueKey":"data.shipments.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the shipment was last updated","uniqueKey":"data.shipments.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.shipments.items.[INDEX]","typeLabel":"object"},"description":"Shipments associated with order","uniqueKey":"data.shipments","typeLabel":"object[]"},"attachments":{"type":"array","items":{"type":"object","description":"A file attached to a sales order.","properties":{"id":{"type":"integer","description":"Attachment ID","uniqueKey":"data.attachments.items.[INDEX].id","typeLabel":"integer"},"original_filename":{"type":"string","description":"The original name of the uploaded file.","uniqueKey":"data.attachments.items.[INDEX].original_filename","typeLabel":"string"},"mime_type":{"oneOf":[{"type":"string","description":"The file's MIME type (e.g. `application/pdf`).","uniqueKey":"data.attachments.items.[INDEX].mime_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file's MIME type (e.g. `application/pdf`).","uniqueKey":"data.attachments.items.[INDEX].mime_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attachments.items.[INDEX].mime_type","typeLabel":"string | null"},"size_bytes":{"type":"integer","description":"File size in bytes.","uniqueKey":"data.attachments.items.[INDEX].size_bytes","typeLabel":"integer"},"uploaded_by":{"oneOf":[{"type":"object","description":"The user who uploaded the file. Null if the uploader is unknown.","properties":{"id":{"type":"integer","description":"User ID","uniqueKey":"data.attachments.items.[INDEX].uploaded_by.oneOf.0.id","typeLabel":"integer"},"name":{"oneOf":[{"type":"string","description":"The uploader's full name, or email address if no name is set.","uniqueKey":"data.attachments.items.[INDEX].uploaded_by.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The uploader's full name, or email address if no name is set.","uniqueKey":"data.attachments.items.[INDEX].uploaded_by.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attachments.items.[INDEX].uploaded_by.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"data.attachments.items.[INDEX].uploaded_by.oneOf.0","typeLabel":"object"},{"type":"null","description":"The user who uploaded the file. Null if the uploader is unknown.","properties":{"id":{"type":"integer","description":"User ID"},"name":{"oneOf":[{"type":"string","description":"The uploader's full name, or email address if no name is set."},{"type":"null","description":"The uploader's full name, or email address if no name is set."}]}},"uniqueKey":"data.attachments.items.[INDEX].uploaded_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attachments.items.[INDEX].uploaded_by","typeLabel":"object | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the attachment was created.","uniqueKey":"data.attachments.items.[INDEX].created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 timestamp of when the attachment was created.","uniqueKey":"data.attachments.items.[INDEX].created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attachments.items.[INDEX].created_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.attachments.items.[INDEX]","typeLabel":"object"},"description":"Files attached to the order. Only present on the detail endpoint (this endpoint), not on the list endpoint.","uniqueKey":"data.attachments","typeLabel":"object[]"},"custom_fields":{"type":"object","description":"Dynamic custom fields with key-value pairs","additionalProperties":{"type":"string","uniqueKey":"data.custom_fields.additionalProperties","typeLabel":"string"},"uniqueKey":"data.custom_fields","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"created_order":{"title":"created_order","value":{"data":{"id":12345,"created_at":"2024-01-15T10:30:00Z","updated_at":"2024-01-15T10:30:00Z","status":"Active","order_id":"12345","order_number":"ORD-2024-001","order_date":"2024-01-15","order_status":"pending","customer_email":"customer@example.com","customer_username":"johndoe123","customer_po_number":"PO-2024-5678","company_id":123,"company":{"id":123,"name":"Acme Corporation","status":"active","address":"123 Main Street","city":"Anytown","state":"CA","postal_code":"90210","country":"US"},"bill_to":{"name":"John Doe","company":"Acme Corporation","street1":"123 Main Street","street2":"Suite 100","city":"Anytown","state":"CA","postal_code":"90210","country":"US","phone":"555-1234"},"ship_to":{"name":"Jane Smith","company":"Delivery Corp","street1":"456 Oak Avenue","city":"Somewhere","state":"NY","postal_code":"10001","country":"US","phone":"555-5678"},"total":128.23,"total_paid":0,"total_tax":15.75,"total_shipping":12.5,"product_total":99.98,"requested_shipping_service":"FedEx Ground","customer_notes":"Please handle with care - fragile items","internal_notes":"Rush order - expedite processing","ship_date":"2024-01-20","hold_until_date":"2024-01-18","ship_by_date":"2024-01-25","earliest_ship_date":"2024-01-18","externally_fulfilled":false,"is_posted":false,"source":"external_api","total_order_quantity":3,"items":[{"id":67890,"line_number":1,"sku":"WIDGET-001","name":"Premium Widget","quantity":2,"unit_price":49.99,"upc":"123456789012","product_id":123,"tags":[],"custom_fields":{}},{"id":67891,"line_number":2,"sku":"WIDGET-002","name":"Standard Widget","quantity":1,"unit_price":25,"upc":"123456789013","product_id":124,"tags":[],"custom_fields":{}}],"tags":[{"id":1,"name":"urgent"},{"id":2,"name":"vip-customer"},{"id":3,"name":"rush-order"}],"custom_fields":{"Customer PO":"PO-98765","Priority Level":"High","Package Count":3}}}}},"exampleType":"examples"}},"exampleType":"examples"},"9ab4d630-e20a-4933-bcb7-73f18a134132":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9b8cdfb3-f252-4266-9a2b-72c3f76b32a2":{"description":"Idempotency conflict: the `Idempotency-Key` is still being processed by an in-flight\nrequest, or was already used with a different request body. The body carries\n`code: idempotency_conflict` alongside `message`.\n","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable explanation of the conflict","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","enum":["idempotency_conflict"],"description":"Machine-readable conflict code","uniqueKey":"code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"idempotency_conflict"}}},"exampleType":"generated"}},"exampleType":"generated"},"5faa7b54-4bc9-43c7-9dbc-bc4fe01ae8cc":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_required_fields":{"title":"missing_required_fields","value":{"message":"The given data was invalid.","errors":{"channel_id":["Channel ID is required."],"order_date":["Order date is required."],"order_status":["Order status is required."],"bill_to":["Billing address is required when company_id is not provided."],"ship_to":["Shipping address is required when company_id is not provided."],"items":["At least one item is required."]}}},"duplicate_order_number":{"title":"duplicate_order_number","value":{"message":"The given data was invalid.","errors":{"order_number":["Order number is already in use."]}}},"invalid_order_status":{"title":"invalid_order_status","value":{"message":"The given data was invalid.","errors":{"order_status":["Order status must be one of the following valid values: pending, shipped, fulfilled, cancelled, awaiting_shipment, partially_shipped, on_hold, backorder, partially_refunded, committed, processing, completed"]}}},"product_not_found":{"title":"product_not_found","value":{"message":"The given data was invalid.","errors":{"items.0.product":["Product not found for product_id: 99999"]}}},"invalid_custom_fields":{"title":"invalid_custom_fields","value":{"message":"The given data was invalid.","errors":{"custom_fields.Priority Level":["Priority Level must be one of: Low, Medium, High"],"items.0.custom_fields.Item Weight":["Item Weight must be a number"]}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"46c3f81b-329c-4e45-b4a2-a2086472f935":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"2e4be249-9cab-4b20-9acd-7b153d825b1d":{"url":"https://{companyName}.api.joinluminous.com/external/api/v1","variables":{"companyName":{"default":"companyName","description":"Your company-specific subdomain"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/build.yaml"},"subdomain":"luminous-2ace3a9f","siteName":"Luminous API Documentation","title":"Create a new sales order - Luminous API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T01:19:30.443Z","originalFileLocation":"api-reference/sales-orders/create-a-new-sales-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new sales order with items, addresses, and optional metadata. ## Key Features - Create orders with multiple line items - Support for both product ID and SKU lookup for items - Automatic product name and details population - Flexible address handling (only name required) - Optional company association - when company_id is provided, addresses are auto-populated - Optional custom fields and tags at both order and order item level - Automatic total calculation from line items plus tax/shipping ## Order Number order_number is optional. Supply your own unique value to keep it, or omit it (or send null / \u0026quot;\u0026quot;) and Luminous assigns LUM-{id} after the order is saved. Channels configured with an order-number prefix assign {prefix}{n} from that channel\u0026#x27;s sequence instead. The assigned value is returned as order_number in the response. ## Product Identification For each line item, you must provide either: - product_id: The internal product ID - sku: The product SKU (supports both internal SKU and alternate SKUs) ## Order Status Values Valid order statuses include: pending, shipped, fulfilled, cancelled, awaiting_shipment, partially_shipped, on_hold, backorder, partially_refunded, committed, processing, completed ## Total Calculation The order total is automatically calculated as: (sum of item quantities × unit prices) + total_tax + total_shipping ## Custom Fields and Tags - Custom fields must be predefined in the system before use - Both order-level and item-level custom fields/tags are supported ## Retries and idempotency This endpoint accepts an optional Idempotency-Key request header, so a client that retries after a network timeout does not create the same sales order twice. Without the header, the request behaves as normal. - Same key, same body: the first response is replayed as-is (status, body, and an Idempotent-Replay: true response header). Only one sales order is created, however many times the request is resent. - Same key, different body: 409 with code: idempotency_conflict. Nothing is created. - Same key, first request still in progress: 409 until the first request finishes. Keys are kept for 24 hours and are scoped to your API token. The stored response is replayed whatever its status, including a 422. After you fix a rejected request, resend it with a new key; reusing the old key returns the stored failure. Use one key per logical create (for example, your source system\u0026#x27;s order number) and keep it the same across retries.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Luminous API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a new sales order - Luminous API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new sales order with items, addresses, and optional metadata. ## Key Features - Create orders with multiple line items - Support for both product ID and SKU lookup for items - Automatic product name and details population - Flexible address handling (only name required) - Optional company association - when company_id is provided, addresses are auto-populated - Optional custom fields and tags at both order and order item level - Automatic total calculation from line items plus tax/shipping ## Order Number order_number is optional. Supply your own unique value to keep it, or omit it (or send null / \u0026quot;\u0026quot;) and Luminous assigns LUM-{id} after the order is saved. Channels configured with an order-number prefix assign {prefix}{n} from that channel\u0026#x27;s sequence instead. The assigned value is returned as order_number in the response. ## Product Identification For each line item, you must provide either: - product_id: The internal product ID - sku: The product SKU (supports both internal SKU and alternate SKUs) ## Order Status Values Valid order statuses include: pending, shipped, fulfilled, cancelled, awaiting_shipment, partially_shipped, on_hold, backorder, partially_refunded, committed, processing, completed ## Total Calculation The order total is automatically calculated as: (sum of item quantities × unit prices) + total_tax + total_shipping ## Custom Fields and Tags - Custom fields must be predefined in the system before use - Both order-level and item-level custom fields/tags are supported ## Retries and idempotency This endpoint accepts an optional Idempotency-Key request header, so a client that retries after a network timeout does not create the same sales order twice. Without the header, the request behaves as normal. - Same key, same body: the first response is replayed as-is (status, body, and an Idempotent-Replay: true response header). Only one sales order is created, however many times the request is resent. - Same key, different body: 409 with code: idempotency_conflict. Nothing is created. - Same key, first request still in progress: 409 until the first request finishes. Keys are kept for 24 hours and are scoped to your API token. The stored response is replayed whatever its status, including a 422. After you fix a rejected request, resend it with a new key; reusing the old key returns the stored failure. Use one key per logical create (for example, your source system\u0026#x27;s order number) and keep it the same across retries.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Luminous API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://luminous-2ace3a9f.mintlify.app/_mintlify/api/og/v2?division=Sales+Orders\u0026amp;title=Create+a+new+sales+order\u0026amp;description=Create+a+new+sales+order+with+items%2C+addresses%2C+and+optional+metadata.%0A%0A%23%23+Key+Features%0A-+Create+orders+with+multiple+line+items%0A-+Support+for+both+product+ID+a\u0026amp;theme=4f5a20d55320e94ca48b4717\u0026amp;signature=e265388b39301afb637ae7ab2afe07cb0880895dcee2da8340bc436defb6166e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a new sales order - Luminous API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new sales order with items, addresses, and optional metadata. ## Key Features - Create orders with multiple line items - Support for both product ID and SKU lookup for items - Automatic product name and details population - Flexible address handling (only name required) - Optional company association - when company_id is provided, addresses are auto-populated - Optional custom fields and tags at both order and order item level - Automatic total calculation from line items plus tax/shipping ## Order Number order_number is optional. Supply your own unique value to keep it, or omit it (or send null / \u0026quot;\u0026quot;) and Luminous assigns LUM-{id} after the order is saved. Channels configured with an order-number prefix assign {prefix}{n} from that channel\u0026#x27;s sequence instead. The assigned value is returned as order_number in the response. ## Product Identification For each line item, you must provide either: - product_id: The internal product ID - sku: The product SKU (supports both internal SKU and alternate SKUs) ## Order Status Values Valid order statuses include: pending, shipped, fulfilled, cancelled, awaiting_shipment, partially_shipped, on_hold, backorder, partially_refunded, committed, processing, completed ## Total Calculation The order total is automatically calculated as: (sum of item quantities × unit prices) + total_tax + total_shipping ## Custom Fields and Tags - Custom fields must be predefined in the system before use - Both order-level and item-level custom fields/tags are supported ## Retries and idempotency This endpoint accepts an optional Idempotency-Key request header, so a client that retries after a network timeout does not create the same sales order twice. Without the header, the request behaves as normal. - Same key, same body: the first response is replayed as-is (status, body, and an Idempotent-Replay: true response header). Only one sales order is created, however many times the request is resent. - Same key, different body: 409 with code: idempotency_conflict. Nothing is created. - Same key, first request still in progress: 409 until the first request finishes. Keys are kept for 24 hours and are scoped to your API token. The stored response is replayed whatever its status, including a 422. After you fix a rejected request, resend it with a new key; reusing the old key returns the stored failure. Use one key per logical create (for example, your source system\u0026#x27;s order number) and keep it the same across retries.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://luminous-2ace3a9f.mintlify.app/_mintlify/api/og/v2?division=Sales+Orders\u0026amp;title=Create+a+new+sales+order\u0026amp;description=Create+a+new+sales+order+with+items%2C+addresses%2C+and+optional+metadata.%0A%0A%23%23+Key+Features%0A-+Create+orders+with+multiple+line+items%0A-+Support+for+both+product+ID+a\u0026amp;theme=4f5a20d55320e94ca48b4717\u0026amp;signature=e265388b39301afb637ae7ab2afe07cb0880895dcee2da8340bc436defb6166e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/luminous-2ace3a9f/ivyXegpKZrRUHP54/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Luminous API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7787FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sales-orders/create-a-new-sales-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.joinluminous.com/#organization\",\"name\":\"Luminous API Documentation\",\"url\":\"https://docs.joinluminous.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/luminous-2ace3a9f/M8Q_jpCZcjsbRx58/logo/light.svg?fit=max\u0026auto=format\u0026n=M8Q_jpCZcjsbRx58\u0026q=85\u0026s=d932f2bcd17b4ecf6a0315882a7cf660\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.joinluminous.com#website\",\"name\":\"Luminous API Documentation\",\"url\":\"https://docs.joinluminous.com\",\"publisher\":{\"@id\":\"https://docs.joinluminous.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order#webpage\",\"url\":\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order\",\"name\":\"Create a new sales order\",\"description\":\"Create a new sales order with items, addresses, and optional metadata. ## Key Features - Create orders with multiple line items - Support for both product ID and SKU lookup for items - Automatic product name and details population - Flexible address handling (only name required) - Optional company association - when company_id is provided, addresses are auto-populated - Optional custom fields and tags at both order and order item level - Automatic total calculation from line items plus tax/shipping ## Order Number order_number is optional. Supply your own unique value to keep it, or omit it (or send null / \\\"\\\") and Luminous assigns LUM-{id} after the order is saved. Channels configured with an order-number prefix assign {prefix}{n} from that channel's sequence instead. The assigned value is returned as order_number in the response. ## Product Identification For each line item, you must provide either: - product_id: The internal product ID - sku: The product SKU (supports both internal SKU and alternate SKUs) ## Order Status Values Valid order statuses include: pending, shipped, fulfilled, cancelled, awaiting_shipment, partially_shipped, on_hold, backorder, partially_refunded, committed, processing, completed ## Total Calculation The order total is automatically calculated as: (sum of item quantities × unit prices) + total_tax + total_shipping ## Custom Fields and Tags - Custom fields must be predefined in the system before use - Both order-level and item-level custom fields/tags are supported ## Retries and idempotency This endpoint accepts an optional Idempotency-Key request header, so a client that retries after a network timeout does not create the same sales order twice. Without the header, the request behaves as normal. - Same key, same body: the first response is replayed as-is (status, body, and an Idempotent-Replay: true response header). Only one sales order is created, however many times the request is resent. - Same key, different body: 409 with code: idempotency_conflict. Nothing is created. - Same key, first request still in progress: 409 until the first request finishes. Keys are kept for 24 hours and are scoped to your API token. The stored response is replayed whatever its status, including a 422. After you fix a rejected request, resend it with a new key; reusing the old key returns the stored failure. Use one key per logical create (for example, your source system's order number) and keep it the same across retries.\",\"dateModified\":\"2026-11-06T01:19:30.443Z\",\"isPartOf\":{\"@id\":\"https://docs.joinluminous.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sales \u0026 Fulfillment\",\"item\":\"https://docs.joinluminous.com/api-reference/sales-orders/sales-orders\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sales Orders\",\"item\":\"https://docs.joinluminous.com/api-reference/sales-orders/sales-orders\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a new sales order\",\"item\":\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order#apireference\",\"headline\":\"Create a new sales order\",\"name\":\"Create a new sales order\",\"description\":\"Create a new sales order with items, addresses, and optional metadata. ## Key Features - Create orders with multiple line items - Support for both product ID and SKU lookup for items - Automatic product name and details population - Flexible address handling (only name required) - Optional company association - when company_id is provided, addresses are auto-populated - Optional custom fields and tags at both order and order item level - Automatic total calculation from line items plus tax/shipping ## Order Number order_number is optional. Supply your own unique value to keep it, or omit it (or send null / \\\"\\\") and Luminous assigns LUM-{id} after the order is saved. Channels configured with an order-number prefix assign {prefix}{n} from that channel's sequence instead. The assigned value is returned as order_number in the response. ## Product Identification For each line item, you must provide either: - product_id: The internal product ID - sku: The product SKU (supports both internal SKU and alternate SKUs) ## Order Status Values Valid order statuses include: pending, shipped, fulfilled, cancelled, awaiting_shipment, partially_shipped, on_hold, backorder, partially_refunded, committed, processing, completed ## Total Calculation The order total is automatically calculated as: (sum of item quantities × unit prices) + total_tax + total_shipping ## Custom Fields and Tags - Custom fields must be predefined in the system before use - Both order-level and item-level custom fields/tags are supported ## Retries and idempotency This endpoint accepts an optional Idempotency-Key request header, so a client that retries after a network timeout does not create the same sales order twice. Without the header, the request behaves as normal. - Same key, same body: the first response is replayed as-is (status, body, and an Idempotent-Replay: true response header). Only one sales order is created, however many times the request is resent. - Same key, different body: 409 with code: idempotency_conflict. Nothing is created. - Same key, first request still in progress: 409 until the first request finishes. Keys are kept for 24 hours and are scoped to your API token. The stored response is replayed whatever its status, including a 422. After you fix a rejected request, resend it with a new key; reusing the old key returns the stored failure. Use one key per logical create (for example, your source system's order number) and keep it the same across retries.\",\"url\":\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.joinluminous.com/api-reference/sales-orders/create-a-new-sales-order#webpage\"},\"dateModified\":\"2026-11-06T01:19:30.443Z\",\"publisher\":{\"@id\":\"https://docs.joinluminous.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.joinluminous.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Luminous API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Luminous API Documentation","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/quickstart"}]},{"anchor":"API Reference","icon":"square-terminal","groups":[{"group":"Products \u0026 Catalog","pages":[{"group":"Products","pages":[{"title":"Products","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products","href":"/api-reference/products/products"},{"title":"Export products (cursor pagination)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/export","href":"/api-reference/products/export-products-cursor-pagination"},{"title":"Single product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/{id}","href":"/api-reference/products/single-product"},{"title":"Create a product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /products","href":"/api-reference/products/create-a-product"},{"title":"Create or update product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /products","href":"/api-reference/products/create-or-update-product"},{"title":"Update a product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /products/{id}","href":"/api-reference/products/update-a-product"},{"title":"Update a product (PUT)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /products/{id}","href":"/api-reference/products/update-a-product-put"},{"title":"Delete product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /products/{id}","href":"/api-reference/products/delete-product"},{"title":"Push a product to an OMS/WMS integration","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /products/{productId}/push","href":"/api-reference/products/push-a-product-to-an-omswms-integration"}]},{"group":"Alternate SKUs","pages":[{"title":"Add alternate SKU","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /products/alternate-sku","href":"/api-reference/products/add-alternate-sku"},{"title":"Delete alternate SKU","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /products/alternate-sku","href":"/api-reference/products/delete-alternate-sku"}]},{"group":"Product Substitutions","pages":[{"title":"Add product substitution","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /products/{productId}/substitutions","href":"/api-reference/products/add-product-substitution"},{"title":"Remove product substitution","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /products/{productId}/substitutions/{substitutionId}","href":"/api-reference/products/remove-product-substitution"}]},{"group":"Product Builder Profiles","pages":[{"title":"List product builder profiles","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /product-profiles","href":"/api-reference/products/list-product-builder-profiles"},{"title":"Create a product builder profile","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /product-profiles","href":"/api-reference/products/create-a-product-builder-profile"},{"title":"Get a product builder profile","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /product-profiles/{productProfileId}","href":"/api-reference/products/get-a-product-builder-profile"},{"title":"Update a product builder profile","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /product-profiles/{productProfileId}","href":"/api-reference/products/update-a-product-builder-profile"},{"title":"Delete a product builder profile","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /product-profiles/{productProfileId}","href":"/api-reference/products/delete-a-product-builder-profile"},{"title":"Get a product profile with builder metadata","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /product-profiles/{productProfileId}/resolved","href":"/api-reference/products/get-a-product-profile-with-builder-metadata"}]},{"group":"B2B Product Templates","pages":[{"title":"List B2B product templates","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /b2b-product-templates","href":"/api-reference/products/list-b2b-product-templates"},{"title":"Create B2B product template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /b2b-product-templates","href":"/api-reference/products/create-b2b-product-template"},{"title":"Get the SKUs and kits on a B2B product template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /b2b-product-templates/{templateId}/items","href":"/api-reference/products/get-the-skus-and-kits-on-a-b2b-product-template"},{"title":"Update B2B product template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /b2b-product-templates/{templateId}","href":"/api-reference/products/update-b2b-product-template"},{"title":"Add or remove SKUs across B2B product templates","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /b2b-product-templates/bulk-items","href":"/api-reference/products/add-or-remove-skus-across-b2b-product-templates"}]},{"group":"Distribution Templates","pages":[{"title":"List distribution template candidates for a product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/{productId}/distribution-template/candidates","href":"/api-reference/products/list-distribution-template-candidates-for-a-product"},{"title":"Assign a distribution template to a product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /products/{productId}/distribution-template","href":"/api-reference/products/assign-a-distribution-template-to-a-product"},{"title":"Clear a product's distribution template assignment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /products/{productId}/distribution-template","href":"/api-reference/products/clear-a-products-distribution-template-assignment"},{"title":"Assign a size-curve category to a product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /products/{productId}/distribution-template-category","href":"/api-reference/products/assign-a-size-curve-category-to-a-product"},{"title":"Clear a product's size-curve category","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /products/{productId}/distribution-template-category","href":"/api-reference/products/clear-a-products-size-curve-category"}]},{"group":"Product Pricing","pages":[{"title":"All products pricing","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/pricing","href":"/api-reference/products/all-products-pricing"},{"title":"Single product pricing","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/{productId}/pricing","href":"/api-reference/products/single-product-pricing"},{"title":"All products with company pricing","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/company-pricing","href":"/api-reference/products/all-products-with-company-pricing"},{"title":"Single product with company pricing","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/{productId}/company-pricing","href":"/api-reference/products/single-product-with-company-pricing"}]},{"group":"BOMs","pages":[{"title":"BOMs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /boms","href":"/api-reference/boms/boms"},{"title":"Create a BOM","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /boms","href":"/api-reference/boms/create-a-bom"},{"title":"Single BOM","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /boms/{bomId}","href":"/api-reference/boms/single-bom"},{"title":"Update a BOM","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /boms/{bomId}","href":"/api-reference/boms/update-a-bom"},{"title":"Delete BOM","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /boms/{bomId}","href":"/api-reference/boms/delete-bom"},{"title":"Attach BOMs to a product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /products/{productId}/boms","href":"/api-reference/products/attach-boms-to-a-product"},{"title":"Detach BOMs from a product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /products/{productId}/boms","href":"/api-reference/products/detach-boms-from-a-product"},{"title":"Bulk attach BOMs to products","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /products/bulk-attach-boms","href":"/api-reference/products/bulk-attach-boms-to-products"}]},{"group":"Labels","pages":[{"title":"Render ZPL label","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /labels/render","href":"/api-reference/labels/render-zpl-label"}]},{"group":"Imports","pages":[{"title":"List import types","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /imports/types","href":"/api-reference/imports/list-import-types"},{"title":"Field schema for an import type","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /imports/specs","href":"/api-reference/imports/field-schema-for-an-import-type"},{"title":"AI-suggested column mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /imports/mapping-suggestions","href":"/api-reference/imports/ai-suggested-column-mapping"},{"title":"List imports","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /imports","href":"/api-reference/imports/list-imports"},{"title":"Submit a bulk import","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /imports","href":"/api-reference/imports/submit-a-bulk-import"},{"title":"Get import by ID","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /imports/{id}","href":"/api-reference/imports/get-import-by-id"},{"title":"Download the original import file","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /imports/{id}/download","href":"/api-reference/imports/download-the-original-import-file"},{"title":"Preview the import file rows","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /imports/{id}/preview","href":"/api-reference/imports/preview-the-import-file-rows"},{"title":"Download import errors","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /imports/{id}/errors","href":"/api-reference/imports/download-import-errors"},{"title":"Resume an incomplete import","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /imports/{id}/resume","href":"/api-reference/imports/resume-an-incomplete-import"},{"title":"Retry errored rows","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /imports/{id}/retry-errors","href":"/api-reference/imports/retry-errored-rows"},{"title":"Copy an import","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /imports/{id}/copy","href":"/api-reference/imports/copy-an-import"}]}]},{"group":"Companies \u0026 Contacts","pages":[{"group":"Companies","pages":[{"title":"Companies","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies","href":"/api-reference/companies/companies"},{"title":"Create a company","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies","href":"/api-reference/companies/create-a-company"},{"title":"Company","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies/{companyId}","href":"/api-reference/companies/company"},{"title":"Update a company","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies/{companyId}","href":"/api-reference/companies/update-a-company"},{"title":"Delete a company","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /companies/{companyId}","href":"/api-reference/companies/delete-a-company"},{"title":"List shipping addresses","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies/{companyId}/shipping-addresses","href":"/api-reference/companies/list-shipping-addresses"},{"title":"Create shipping address","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies/{companyId}/shipping-addresses","href":"/api-reference/companies/create-shipping-address"},{"title":"Update shipping address","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies/{companyId}/shipping-addresses/{shippingAddressId}","href":"/api-reference/companies/update-shipping-address"},{"title":"Delete shipping address","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /companies/{companyId}/shipping-addresses/{shippingAddressId}","href":"/api-reference/companies/delete-shipping-address"},{"title":"Company Contacts","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies/{companyId}/contacts","href":"/api-reference/companies/company-contacts"},{"title":"Company Product Price Overrides","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies/{companyId}/product-price-overrides","href":"/api-reference/companies/company-product-price-overrides"},{"title":"Create company product price override","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies/{companyId}/product-price-overrides","href":"/api-reference/companies/create-company-product-price-override"},{"title":"Bulk upsert company product price overrides","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies/{companyId}/product-price-overrides/bulk","href":"/api-reference/companies/bulk-upsert-company-product-price-overrides"},{"title":"Update company product price override","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies/{companyId}/product-price-overrides/{overrideId}","href":"/api-reference/companies/update-company-product-price-override"},{"title":"Delete company product price override","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /companies/{companyId}/product-price-overrides/{overrideId}","href":"/api-reference/companies/delete-company-product-price-override"},{"title":"List company price groups","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies/{companyId}/price-groups","href":"/api-reference/companies/list-company-price-groups"},{"title":"Assign company price group","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies/{companyId}/price-groups","href":"/api-reference/companies/assign-company-price-group"},{"title":"Bulk assign company price groups","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /companies/{companyId}/price-groups/bulk","href":"/api-reference/companies/bulk-assign-company-price-groups"},{"title":"Delete company price group","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /companies/{companyId}/price-groups/{assignmentId}","href":"/api-reference/companies/delete-company-price-group"},{"title":"Company Products","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies/{companyId}/products","href":"/api-reference/companies/company-products"},{"title":"List invoices for a company","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies/{companyId}/invoices","href":"/api-reference/companies/list-invoices-for-a-company"},{"title":"List sales orders for a company","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /companies/{companyId}/sales-orders","href":"/api-reference/companies/list-sales-orders-for-a-company"}]},{"group":"Contacts","pages":[{"title":"Contacts","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /contacts","href":"/api-reference/contacts/contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"Single contact","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /contacts/{contactId}","href":"/api-reference/contacts/single-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /contacts/{contactId}","href":"/api-reference/contacts/update-a-contact"},{"title":"Set or rotate B2B portal password","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /contacts/{contactId}/b2b-portal-password","href":"/api-reference/contacts/set-or-rotate-b2b-portal-password"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /contacts/{contactId}","href":"/api-reference/contacts/delete-a-contact"}]},{"group":"Suppliers","pages":[{"title":"Suppliers","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /suppliers","href":"/api-reference/suppliers/suppliers"},{"title":"Create a supplier","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /suppliers","href":"/api-reference/suppliers/create-a-supplier"},{"title":"Supplier","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /suppliers/{supplierId}","href":"/api-reference/suppliers/supplier"},{"title":"Update a supplier","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /suppliers/{supplierId}","href":"/api-reference/suppliers/update-a-supplier"},{"title":"Partially update a supplier","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /suppliers/{supplierId}","href":"/api-reference/suppliers/partially-update-a-supplier"},{"title":"Delete a supplier","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /suppliers/{supplierId}","href":"/api-reference/suppliers/delete-a-supplier"},{"title":"Supplier contacts","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /suppliers/{supplierId}/contacts","href":"/api-reference/suppliers/supplier-contacts"},{"title":"Add a supplier contact","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /suppliers/{supplierId}/contacts","href":"/api-reference/suppliers/add-a-supplier-contact"}]},{"group":"Supplier SKUs","pages":[{"title":"List supplier SKUs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /supplier-skus","href":"/api-reference/supplier-skus/list-supplier-skus"},{"title":"Create a supplier SKU","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /supplier-skus","href":"/api-reference/supplier-skus/create-a-supplier-sku"},{"title":"Bulk upsert supplier SKUs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /supplier-skus/bulk","href":"/api-reference/supplier-skus/bulk-upsert-supplier-skus"},{"title":"Get a supplier SKU","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /supplier-skus/{supplierProductSkuId}","href":"/api-reference/supplier-skus/get-a-supplier-sku"},{"title":"Update a supplier SKU","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /supplier-skus/{supplierProductSkuId}","href":"/api-reference/supplier-skus/update-a-supplier-sku"},{"title":"Delete a supplier SKU","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /supplier-skus/{supplierProductSkuId}","href":"/api-reference/supplier-skus/delete-a-supplier-sku"}]},{"group":"Pricing","pages":[{"title":"Price Schedules","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /price-schedules","href":"/api-reference/pricing/price-schedules"},{"title":"Price Schedule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /price-schedules/{scheduleId}","href":"/api-reference/pricing/price-schedule"},{"title":"Price Levels","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /price-levels","href":"/api-reference/pricing/price-levels"},{"title":"Price Level","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /price-levels/{levelId}","href":"/api-reference/pricing/price-level"}]}]},{"group":"Inventory \u0026 Warehousing","pages":[{"group":"Warehouses","pages":[{"title":"Warehouses","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /warehouses","href":"/api-reference/locations/warehouses"},{"title":"Create warehouse","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /warehouses","href":"/api-reference/locations/create-warehouse"},{"title":"Get warehouse by ID","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /warehouses/{warehouseId}","href":"/api-reference/locations/get-warehouse-by-id"},{"title":"Update warehouse","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /warehouses/{warehouseId}","href":"/api-reference/locations/update-warehouse"},{"title":"Delete warehouse","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /warehouses/{warehouseId}","href":"/api-reference/locations/delete-warehouse"}]},{"group":"Warehouse Groups","pages":[{"title":"Warehouse groups","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /warehouse-groups","href":"/api-reference/locations/warehouse-groups"},{"title":"Create warehouse group","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /warehouse-groups","href":"/api-reference/locations/create-warehouse-group"},{"title":"Get warehouse group by ID","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /warehouse-groups/{id}","href":"/api-reference/locations/get-warehouse-group-by-id"},{"title":"Update warehouse group","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /warehouse-groups/{id}","href":"/api-reference/locations/update-warehouse-group"},{"title":"Delete warehouse group","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /warehouse-groups/{id}","href":"/api-reference/locations/delete-warehouse-group"}]},{"group":"Locations","pages":[{"title":"Locations","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /locations","href":"/api-reference/locations/locations"},{"title":"Create location","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /locations","href":"/api-reference/locations/create-location"},{"title":"Get location by ID","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /locations/{locationId}","href":"/api-reference/locations/get-location-by-id"},{"title":"Update location","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /locations/{locationId}","href":"/api-reference/locations/update-location"},{"title":"Delete location","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /locations/{locationId}","href":"/api-reference/locations/delete-location"}]},{"group":"Inventory","pages":[{"title":"Inventory stock","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/stocks","href":"/api-reference/inventory/inventory-stock"},{"title":"Export inventory stock (cursor pagination)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/stocks/export","href":"/api-reference/inventory/export-inventory-stock-cursor-pagination"},{"title":"List cost layers","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/cost-layers","href":"/api-reference/inventory/list-cost-layers"},{"title":"Get cost layer by ID","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/cost-layers/{costLayerId}","href":"/api-reference/inventory/get-cost-layer-by-id"},{"title":"Adjust inventory stock","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /inventory/adjustments","href":"/api-reference/inventory/adjust-inventory-stock"},{"title":"Inventory adjustments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/adjustments","href":"/api-reference/inventory/inventory-adjustments"},{"title":"Inventory adjustment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/adjustments/{adjustmentId}","href":"/api-reference/inventory/inventory-adjustment"},{"title":"Transfer inventory between locations (PickFlow)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/inventory/transfers","href":"/api-reference/inventory/transfer-inventory-between-locations-pickflow"},{"title":"Recount a bin/lot row (PickFlow)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/inventory/recount","href":"/api-reference/inventory/recount-a-binlot-row-pickflow"}]},{"group":"Lots","pages":[{"title":"Create a lot","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /lots","href":"/api-reference/lots/create-a-lot"},{"title":"Get a lot","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /lots/{lotId}","href":"/api-reference/lots/get-a-lot"},{"title":"Update a lot","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /lots/{lotId}","href":"/api-reference/lots/update-a-lot"},{"title":"Delete a lot","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /lots/{lotId}","href":"/api-reference/lots/delete-a-lot"},{"title":"Bulk delete lots","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /lots/bulk-delete","href":"/api-reference/lots/bulk-delete-lots"},{"title":"List a product's lots","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/{productId}/lots","href":"/api-reference/lots/list-a-products-lots"},{"title":"List a product's Qty Log movements","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /products/{productId}/qty-logs","href":"/api-reference/lots/list-a-products-qty-log-movements"}]},{"group":"Transfer Orders","pages":[{"title":"Transfer orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /transfer-orders","href":"/api-reference/transfer-orders/transfer-orders"},{"title":"Create a transfer order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /transfer-orders","href":"/api-reference/transfer-orders/create-a-transfer-order"},{"title":"Single transfer order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /transfer-orders/{id}","href":"/api-reference/transfer-orders/single-transfer-order"},{"title":"Update a draft transfer order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /transfer-orders/{id}","href":"/api-reference/transfer-orders/update-a-draft-transfer-order"},{"title":"Post a draft transfer order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /transfer-orders/{id}/post","href":"/api-reference/transfer-orders/post-a-draft-transfer-order"},{"title":"Push transfer order as inbound shipment to WMS","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /transfer-orders/{id}/push-inbound-shipment","href":"/api-reference/transfer-orders/push-transfer-order-as-inbound-shipment-to-wms"},{"title":"List transfer routes","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /transfer-routes","href":"/api-reference/transfer-orders/list-transfer-routes"},{"title":"Create or replace a transfer route","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /transfer-routes","href":"/api-reference/transfer-orders/create-or-replace-a-transfer-route"},{"title":"Create or replace a transfer route (PATCH alias)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /transfer-routes","href":"/api-reference/transfer-orders/create-or-replace-a-transfer-route-patch-alias"},{"title":"Get a transfer route","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /transfer-routes/{transferRouteId}","href":"/api-reference/transfer-orders/get-a-transfer-route"},{"title":"Update a transfer route","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /transfer-routes/{transferRouteId}","href":"/api-reference/transfer-orders/update-a-transfer-route"},{"title":"Delete a transfer route","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /transfer-routes/{transferRouteId}","href":"/api-reference/transfer-orders/delete-a-transfer-route"}]},{"group":"Inbound Shipments","pages":[{"title":"Inbound shipments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inbound-shipments","href":"/api-reference/inbound-shipments/inbound-shipments"},{"title":"Get inbound shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inbound-shipments/{id}","href":"/api-reference/inbound-shipments/get-inbound-shipment"},{"title":"Amazon FBA inbound plans not yet shipped","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inbound-plans","href":"/api-reference/inbound-shipments/amazon-fba-inbound-plans-not-yet-shipped"}]}]},{"group":"Purchasing","pages":[{"group":"Purchase Orders","pages":[{"title":"Purchase orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders","href":"/api-reference/purchase-orders/purchase-orders"},{"title":"Create a new purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders","href":"/api-reference/purchase-orders/create-a-new-purchase-order"},{"title":"Single purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/{id}","href":"/api-reference/purchase-orders/single-purchase-order"},{"title":"Update a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /purchase-orders/{id}","href":"/api-reference/purchase-orders/update-a-purchase-order"},{"title":"Delete a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /purchase-orders/{id}","href":"/api-reference/purchase-orders/delete-a-purchase-order"},{"title":"Append line items to a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders/{purchaseOrderId}/items","href":"/api-reference/purchase-orders/append-line-items-to-a-purchase-order"},{"title":"Set or clear a purchase-order line's lot","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /purchase-orders/{purchaseOrderId}/items/{lineItemId}/lot","href":"/api-reference/purchase-orders/set-or-clear-a-purchase-order-lines-lot"},{"title":"Close or reopen a purchase-order line","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /purchase-orders/{purchaseOrderId}/items/{lineItemId}/closed","href":"/api-reference/purchase-orders/close-or-reopen-a-purchase-order-line"},{"title":"Allocate a sales order onto a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders/{purchaseOrderId}/allocate","href":"/api-reference/purchase-orders/allocate-a-sales-order-onto-a-purchase-order"},{"title":"Reverse (unallocate) an allocation peg","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders/reverse-allocation","href":"/api-reference/purchase-orders/reverse-unallocate-an-allocation-peg"},{"title":"Purchase order items","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/items","href":"/api-reference/purchase-orders/purchase-order-items"},{"title":"Create a payment for a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders/{purchaseOrderId}/payments","href":"/api-reference/purchase-orders/create-a-payment-for-a-purchase-order"},{"title":"Update a purchase order payment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /purchase-orders/{purchaseOrderId}/payments/{paymentId}","href":"/api-reference/purchase-orders/update-a-purchase-order-payment"},{"title":"Delete a purchase order payment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /purchase-orders/{purchaseOrderId}/payments/{paymentId}","href":"/api-reference/purchase-orders/delete-a-purchase-order-payment"},{"title":"Get billable lines for a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/{purchaseOrderId}/billable-lines","href":"/api-reference/purchase-orders/get-billable-lines-for-a-purchase-order"},{"title":"List payment obligations for a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/{purchaseOrderId}/payment-obligations","href":"/api-reference/purchase-orders/list-payment-obligations-for-a-purchase-order"},{"title":"Create a payment obligation for a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders/{purchaseOrderId}/payment-obligations","href":"/api-reference/purchase-orders/create-a-payment-obligation-for-a-purchase-order"},{"title":"Generate payment obligations for a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders/{purchaseOrderId}/payment-obligations/generate","href":"/api-reference/purchase-orders/generate-payment-obligations-for-a-purchase-order"},{"title":"Push purchase order as inbound shipment to WMS","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders/{purchaseOrderId}/push-inbound-shipment","href":"/api-reference/purchase-orders/push-purchase-order-as-inbound-shipment-to-wms"}]},{"group":"Purchase Order Shipments","pages":[{"title":"Purchase order shipments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-order-shipments","href":"/api-reference/purchase-order-shipments/purchase-order-shipments"},{"title":"Create purchase order shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-order-shipments","href":"/api-reference/purchase-order-shipments/create-purchase-order-shipment"},{"title":"Get purchase order shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-order-shipments/{id}","href":"/api-reference/purchase-order-shipments/get-purchase-order-shipment"},{"title":"Get purchase order shipment cartons","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-order-shipments/{id}/packages","href":"/api-reference/purchase-order-shipments/get-purchase-order-shipment-cartons"},{"title":"Suggest purchase order shipment cartons","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-order-shipments/{id}/packages/suggested","href":"/api-reference/purchase-order-shipments/suggest-purchase-order-shipment-cartons"},{"title":"Replace purchase order shipment cartons","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /purchase-order-shipments/{id}/packages","href":"/api-reference/purchase-order-shipments/replace-purchase-order-shipment-cartons"},{"title":"Push purchase order shipment as inbound shipment to WMS","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-order-shipments/{id}/push-inbound-shipment","href":"/api-reference/purchase-order-shipments/push-purchase-order-shipment-as-inbound-shipment-to-wms"},{"title":"Get purchase order shipment box labels","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-order-shipments/{id}/box-labels","href":"/api-reference/purchase-order-shipments/get-purchase-order-shipment-box-labels"},{"title":"List shipments for a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/{purchaseOrderId}/shipments","href":"/api-reference/purchase-order-shipments/list-shipments-for-a-purchase-order"},{"title":"Get shipment by purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/{purchaseOrderId}/shipments/{shipmentId}","href":"/api-reference/purchase-order-shipments/get-shipment-by-purchase-order"}]},{"group":"Supplier Portal","pages":[{"title":"List supplier acceptance responses","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/{purchaseOrderId}/supplier-acceptances","href":"/api-reference/supplier-portal/list-supplier-acceptance-responses"},{"title":"List supplier extra-cost requests","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/{purchaseOrderId}/supplier-extra-cost-requests","href":"/api-reference/supplier-portal/list-supplier-extra-cost-requests"},{"title":"List quality inspections for a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purchase-orders/{purchaseOrderId}/quality-inspections","href":"/api-reference/supplier-portal/list-quality-inspections-for-a-purchase-order"},{"title":"Mint and email a supplier portal link","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purchase-orders/{purchaseOrderId}/supplier-portal-link","href":"/api-reference/supplier-portal/mint-and-email-a-supplier-portal-link"},{"title":"Revoke a supplier's portal access","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /purchase-orders/{purchaseOrderId}/supplier-portal-access","href":"/api-reference/supplier-portal/revoke-a-suppliers-portal-access"}]},{"group":"Receiving Reports","pages":[{"title":"Receiving reports","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /receiving-reports","href":"/api-reference/receiving-reports/receiving-reports"},{"title":"Create a receiving report","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /receiving-reports","href":"/api-reference/receiving-reports/create-a-receiving-report"},{"title":"Single receiving report","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /receiving-reports/{id}","href":"/api-reference/receiving-reports/single-receiving-report"},{"title":"Correct a posted receiving-report line quantity","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /receiving-reports/items/{receivingReportItemId}/correct-quantity","href":"/api-reference/receiving-reports/correct-a-posted-receiving-report-line-quantity"},{"title":"Get billable lines for a receiving report","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /receiving-reports/{receivingReportId}/billable-lines","href":"/api-reference/receiving-reports/get-billable-lines-for-a-receiving-report"}]},{"group":"Payment Obligations","pages":[{"title":"Get payment obligations dashboard","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /payment-obligations/dashboard","href":"/api-reference/payment-obligations/get-payment-obligations-dashboard"},{"title":"List payment obligations","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /payment-obligations","href":"/api-reference/payment-obligations/list-payment-obligations"},{"title":"Get a payment obligation","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /payment-obligations/{id}","href":"/api-reference/payment-obligations/get-a-payment-obligation"},{"title":"Update a payment obligation","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /payment-obligations/{id}","href":"/api-reference/payment-obligations/update-a-payment-obligation"},{"title":"Update payment obligation status","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /payment-obligations/{id}/status","href":"/api-reference/payment-obligations/update-payment-obligation-status"},{"title":"Link a bill to a payment obligation","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /payment-obligations/{id}/link-bill","href":"/api-reference/payment-obligations/link-a-bill-to-a-payment-obligation"},{"title":"Unlink a bill from a payment obligation","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /payment-obligations/{id}/bills/{billId}","href":"/api-reference/payment-obligations/unlink-a-bill-from-a-payment-obligation"}]},{"group":"Cost Rules","pages":[{"title":"List cost rules","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /cost-rules","href":"/api-reference/cost-rules/list-cost-rules"},{"title":"Create a cost rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /cost-rules","href":"/api-reference/cost-rules/create-a-cost-rule"},{"title":"Single cost rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /cost-rules/{id}","href":"/api-reference/cost-rules/single-cost-rule"},{"title":"Update a cost rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /cost-rules/{id}","href":"/api-reference/cost-rules/update-a-cost-rule"},{"title":"Delete a cost rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /cost-rules/{id}","href":"/api-reference/cost-rules/delete-a-cost-rule"}]}]},{"group":"Sales \u0026 Fulfillment","pages":[{"group":"Sales Orders","pages":[{"title":"Sales orders","description":"Get a paginated list of sales orders with optional filtering.\n\n\u003cNote>\n**Syncing sales order data?** Use [`GET /sales-orders/export`](/api-reference/sales-orders/export-sales-orders)\ninstead. The export endpoint uses cursor-based pagination with a fixed time window, making it\nsignificantly more reliable for incremental sync workflows than polling this list endpoint.\n\u003c/Note>\n\n\u003cNote>\n**Need to re-pull an order's data from its source channel?** Use [`POST /sales-orders/bulk-refresh`](/api-reference/sales-orders/bulk-refresh-sales-orders)\nwith body `{ \"salesOrderIds\": [id] }`. Pass a single ID to refresh one order; up to 100 IDs per request.\n\u003c/Note>\n\nFor detailed information about the filtering system and available operators,\nrefer to the [Filter System Documentation](/filters).\n\n## Available Filters\n\n### String Filters\n- `order_number`: Order reference number\n- `order_status`: Order status\n- `tag`: Order tags\n\n### Date Filters\n- `order_date`: Date the order was placed\n- `ship_date`: Date the order was shipped\n\n### DateTime Filters\n- `created_at`: When the order was created\n- `updated_at`: When the order was last updated\n\n### Numeric Filters\n- `total_quantity`: Total number of items\n- `total`: Order total amount\n- `total_shipping`: Shipping cost\n- `total_tax`: Tax amount\n- `total_paid`: Amount paid\n\n### Integer Filters\n- `channel_id`: Filter by the sales channel the order was received on\n\n### Ship-To Address Filters\nFilter on the order's shipping address (matched against the source shipTo JSON).\n- `ship_to.state`: Ship-to state/province (full name as stored on the order, e.g. `California`)\n- `ship_to.state_code`: Ship-to state/province code, falling back to the state value when no code is stored (e.g. `CA`)\n\nOn large tenants, combine ship-to filters with a date filter (e.g. `created_at`) — the shipping address is not indexed.\n\n### Line Item Filters\n- `item.tag`: Filter by sales orders containing line items with a specific tag\n\n### Line Item Product Filters\nProduct filters allow you to filter by sales orders with line items connected to a specific product or set of products.\n#### String Filters\n- `product.name`: Filter by line item product name\n- `product.description`: Filter by line item product description\n- `product.sku`: Filter by line item product SKU (searches both internal SKU and alternate SKUs)\n- `product.upc`: Filter by line item product UPC/Barcode\n- `product.tag`: Filter by line item product tags\n- `product.category.name`: Filter by line item product category name\n- `product.sub_category.name`: Filter by line item product sub-category name\n- `product.supplier.name`: Filter by line item product supplier name\n\n#### Integer Filters\n- `product.id`: Filter by line item product ID\n- `product.category.id`: Filter by line item product category ID\n- `product.sub_category.id`: Filter by line item product sub-category ID\n- `product.supplier.id`: Filter by line item product supplier ID\n\n#### Float Filters\n- `product.retail_price`: Filter by line item product retail price\n- `product.wholesale_price`: Filter by line item product wholesale price\n\n#### Boolean Filters\n- `product.sellable`: Filter by line item product sellable status\n- `product.discontinued`: Filter by whether the line item product is discontinued\n\n## Examples\n```\n# Find orders over $500 created this year\n?total[gt]=500.00\u0026created_at[gte]=2024-01-01 00:00:00\n\n# Find recent urgent orders\n?tag[eq]=urgent\u0026created_at[gte]=2024-10-25 00:00:00\n\n# Find orders with specific shipping costs\n?total_shipping[gte]=10.00\u0026total_shipping[lte]=50.00\n\n# Find orders containing a specific product SKU\n?product.sku[eq]=SKU-123\n\n# Find orders with discontinued products\n?product.discontinued[eq]=true\n\n# Find orders with products from a specific supplier\n?product.supplier.name[contains]=Acme\n\n# Find a sales order containing a line item with a specific tag\n?item.tag[eq]=urgent\n```\n","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-orders","href":"/api-reference/sales-orders/sales-orders"},{"title":"Create a new sales order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders","href":"/api-reference/sales-orders/create-a-new-sales-order"},{"title":"Export sales orders (incremental)","description":"Incrementally export active sales orders updated within a given time window, with cursor-based\npagination. Designed for real-time syncing and data pipelines.\n\n## How it works\n\nEach export run is anchored to a **fixed cutoff time** (set at the start of the first request),\nso pages are stable even if records are updated mid-export.\n\n**Starting a run** — provide `since` with a UTC datetime. The endpoint returns up to `limit`\norders updated on or after that time, up to the cutoff.\n\n**Continuing a run** — use the `next_cursor` value from the previous response. The cursor\nencodes the run's position and is cryptographically signed; do not modify it.\n\n**Run complete** — when `has_more` is `false`, you have received all orders in the window.\nStore the cutoff time (available in the first response's `meta.cutoff`) as your next `since`\nvalue to pick up changes on the following sync.\n\n## Pagination parameters\n\n| Parameter | Description |\n|-----------|-------------|\n| `since` | Start of the time window (UTC). Required when starting a new run. Cannot be combined with `cursor`. |\n| `cursor` | Continuation token from a previous response. Required when continuing a run. Cannot be combined with `since`. |\n| `limit` | Max records per page. Default and maximum: 1000. |\n\n## Example flow\n\n```\n# 1. Start a run from a known point in time\nGET /sales-orders/export?since=2024-01-01T00:00:00Z\u0026limit=1000\n\n# 2. If has_more is true, continue with the cursor\nGET /sales-orders/export?cursor=\u003cnext_cursor from previous response>\n\n# 3. Repeat until has_more is false\n# 4. Save meta.cutoff as your next since value\n```\n\n## Notes\n\n- Only active sales orders are returned.\n- Results are ordered by `updated_at` ascending, then by `id` ascending, ensuring a\n stable and consistent traversal order.\n- `since` accepts any parseable datetime string (e.g. `2024-01-01`, `2024-01-01T00:00:00Z`,\n `2024-01-01 00:00:00`). A value without an offset is read as UTC; a value with `Z` or an\n explicit offset (e.g. `2024-01-01T06:00:00-06:00`) is honored.\n- `since` is an **inclusive** lower bound on `updated_at`. Delivery is at-least-once, never\n skipped: orders whose `updated_at` equals `since` are returned again, and a `since` that falls\n in the repeated hour when daylight saving time ends (in the server's timezone) starts from the\n top of that hour, so up to one hour of orders may be re-delivered. Upsert on `order_id`, and\n do not subtract a fixed offset from `since`.\n- Every `created_at` / `updated_at` in the response (order, `items`, `shipments`,\n `fulfillment_orders`) is UTC ISO 8601 with microseconds, e.g. `2026-09-17T19:21:32.000000Z`.\n `order_date` and `ship_date` are returned as stored.\n","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-orders/export","href":"/api-reference/sales-orders/export-sales-orders-incremental"},{"title":"Bulk refresh sales orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/bulk-refresh","href":"/api-reference/sales-orders/bulk-refresh-sales-orders"},{"title":"Single sales order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-orders/{id}","href":"/api-reference/sales-orders/single-sales-order"},{"title":"Update a sales order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /sales-orders/{id}","href":"/api-reference/sales-orders/update-a-sales-order"},{"title":"Get purchase-to-order allocation availability","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-orders/{salesOrderId}/allocation-availability","href":"/api-reference/sales-orders/get-purchase-to-order-allocation-availability"},{"title":"Set sales order lines' fulfillment priority list","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/items/fulfillment-priority-list","href":"/api-reference/sales-orders/set-sales-order-lines-fulfillment-priority-list"},{"title":"Preview a sales-order item remap","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-orders/{salesOrderId}/items/{salesOrderItemId}/remap-preview","href":"/api-reference/sales-orders/preview-a-sales-order-item-remap"},{"title":"Remap a sales-order item","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /sales-orders/{salesOrderId}/items/{salesOrderItemId}/remap","href":"/api-reference/sales-orders/remap-a-sales-order-item"},{"title":"Push fulfillment to order source","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/push-fulfillment","href":"/api-reference/sales-orders/push-fulfillment-to-order-source"},{"title":"Simulate fulfillment for a sales order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/simulate-fulfillment","href":"/api-reference/sales-orders/simulate-fulfillment-for-a-sales-order"},{"title":"Auto-generate fulfillment orders (synchronous)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/auto-generate-fulfillment-orders","href":"/api-reference/sales-orders/auto-generate-fulfillment-orders-synchronous"},{"title":"Create a fulfillment order (no stock checks)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/fulfillment-orders","href":"/api-reference/sales-orders/create-a-fulfillment-order-no-stock-checks"},{"title":"Refresh a sales order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/refresh","href":"/api-reference/sales-orders/refresh-a-sales-order"},{"title":"List sales order shipments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-order-shipments","href":"/api-reference/sales-orders/list-sales-order-shipments"},{"title":"Get shipments for a sales order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-orders/{salesOrderId}/shipments","href":"/api-reference/sales-orders/get-shipments-for-a-sales-order"},{"title":"Create a new shipment for a sales order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/shipments","href":"/api-reference/sales-orders/create-a-new-shipment-for-a-sales-order"},{"title":"Force-push shipment fulfillment to order source","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/shipments/{shipmentId}/force-push-source-fulfillment","href":"/api-reference/sales-orders/force-push-shipment-fulfillment-to-order-source"},{"title":"Create shipment packages","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/shipments/{shipmentId}/packages","href":"/api-reference/sales-orders/create-shipment-packages"},{"title":"List sales order attachments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-orders/{salesOrderId}/attachments","href":"/api-reference/sales-orders/list-sales-order-attachments"},{"title":"Upload a sales order attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /sales-orders/{salesOrderId}/attachments","href":"/api-reference/sales-orders/upload-a-sales-order-attachment"},{"title":"Download a sales order attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /sales-orders/{salesOrderId}/attachments/{attachmentId}/download","href":"/api-reference/sales-orders/download-a-sales-order-attachment"},{"title":"Delete a sales order attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /sales-orders/{salesOrderId}/attachments/{attachmentId}","href":"/api-reference/sales-orders/delete-a-sales-order-attachment"}]},{"group":"Fulfillment Orders","pages":[{"title":"Fulfillment orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-orders","href":"/api-reference/fulfillment-orders/fulfillment-orders"},{"title":"Simulate fulfillment-order generation (bulk)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/simulate","href":"/api-reference/fulfillment-orders/simulate-fulfillment-order-generation-bulk"},{"title":"Bulk delete fulfillment orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/bulk-delete","href":"/api-reference/fulfillment-orders/bulk-delete-fulfillment-orders"},{"title":"Get fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-orders/{id}","href":"/api-reference/fulfillment-orders/get-fulfillment-order"},{"title":"Delete fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /fulfillment-orders/{id}","href":"/api-reference/fulfillment-orders/delete-fulfillment-order"},{"title":"Push fulfillment order to OMS","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{id}/push","href":"/api-reference/fulfillment-orders/push-fulfillment-order-to-oms"},{"title":"Unpush fulfillment order from OMS","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{id}/unpush","href":"/api-reference/fulfillment-orders/unpush-fulfillment-order-from-oms"},{"title":"Reconcile source reference","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{id}/reconcile-source-reference","href":"/api-reference/fulfillment-orders/reconcile-source-reference"},{"title":"Remove sales order line from fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{id}/remove-so-item","href":"/api-reference/fulfillment-orders/remove-sales-order-line-from-fulfillment-order"},{"title":"Set custom field values on a fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /fulfillment-orders/{fulfillmentOrderId}/custom-fields","href":"/api-reference/fulfillment-orders/set-custom-field-values-on-a-fulfillment-order"},{"title":"Check fulfillment-order push readiness","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-orders/{fulfillmentOrderId}/push-readiness","href":"/api-reference/fulfillment-orders/check-fulfillment-order-push-readiness"},{"title":"List fulfillment-order activity logs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-orders/{fulfillmentOrderId}/activity-logs","href":"/api-reference/fulfillment-orders/list-fulfillment-order-activity-logs"},{"title":"Preview fulfillment-order push mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/push-preview","href":"/api-reference/fulfillment-orders/preview-fulfillment-order-push-mapping"},{"title":"Repair address and push fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/repair-and-push","href":"/api-reference/fulfillment-orders/repair-address-and-push-fulfillment-order"},{"title":"Create Shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{id}/shipments","href":"/api-reference/fulfillment-orders/create-shipment"},{"title":"Update fulfillment order notes","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /fulfillment-orders/{fulfillmentOrderId}/notes","href":"/api-reference/fulfillment-orders/update-fulfillment-order-notes"},{"title":"Get tags on a fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-orders/{fulfillmentOrderId}/tags","href":"/api-reference/fulfillment-orders/get-tags-on-a-fulfillment-order"},{"title":"Attach tag(s) to a fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/tags","href":"/api-reference/fulfillment-orders/attach-tags-to-a-fulfillment-order"},{"title":"Replace all tags on a fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /fulfillment-orders/{fulfillmentOrderId}/tags","href":"/api-reference/fulfillment-orders/replace-all-tags-on-a-fulfillment-order"},{"title":"Detach a tag from a fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /fulfillment-orders/{fulfillmentOrderId}/tags/{tag}","href":"/api-reference/fulfillment-orders/detach-a-tag-from-a-fulfillment-order"},{"title":"Hold fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/hold","href":"/api-reference/fulfillment-orders/hold-fulfillment-order"},{"title":"Release fulfillment order from hold","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/release","href":"/api-reference/fulfillment-orders/release-fulfillment-order-from-hold"},{"title":"Cancel fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/cancel","href":"/api-reference/fulfillment-orders/cancel-fulfillment-order"},{"title":"Mark fulfillment order as shipped","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/mark-shipped","href":"/api-reference/fulfillment-orders/mark-fulfillment-order-as-shipped"},{"title":"Set fulfillment order status","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /fulfillment-orders/{fulfillmentOrderId}/status","href":"/api-reference/fulfillment-orders/set-fulfillment-order-status"},{"title":"Update ship-by date","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /fulfillment-orders/{fulfillmentOrderId}/ship-by-date","href":"/api-reference/fulfillment-orders/update-ship-by-date"},{"title":"Freight account and booking defaults","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-orders/{fulfillmentOrderId}/freight/defaults","href":"/api-reference/fulfillment-orders/freight-account-and-booking-defaults"},{"title":"Freight record and active shipments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-orders/{fulfillmentOrderId}/freight/shipments","href":"/api-reference/fulfillment-orders/freight-record-and-active-shipments"},{"title":"Build a package plan","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/freight/package-plan","href":"/api-reference/fulfillment-orders/build-a-package-plan"},{"title":"Create freight shipment and request quotes","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-orders/{fulfillmentOrderId}/freight/quotes","href":"/api-reference/fulfillment-orders/create-freight-shipment-and-request-quotes"},{"title":"Packing slip PDF","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-orders/{fulfillmentOrderId}/packing-slip","href":"/api-reference/fulfillment-orders/packing-slip-pdf"}]},{"group":"Freight","pages":[{"title":"Single freight shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /freight/shipments/{metadataId}","href":"/api-reference/freight/single-freight-shipment"},{"title":"Freight quotes","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /freight/shipments/{metadataId}/quotes","href":"/api-reference/freight/freight-quotes"},{"title":"Book a freight quote","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /freight/shipments/{metadataId}/book","href":"/api-reference/freight/book-a-freight-quote"},{"title":"Sync status from Freightview","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /freight/shipments/{metadataId}/sync-status","href":"/api-reference/freight/sync-status-from-freightview"},{"title":"Freight documents","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /freight/shipments/{metadataId}/documents","href":"/api-reference/freight/freight-documents"},{"title":"Download a freight document","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /freight/shipments/{metadataId}/documents/{documentId}/download","href":"/api-reference/freight/download-a-freight-document"}]},{"group":"Fulfillment Priority Lists","pages":[{"title":"List fulfillment priority lists","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-priority-lists","href":"/api-reference/fulfillment-priority-lists/list-fulfillment-priority-lists"},{"title":"Create a fulfillment priority list","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /fulfillment-priority-lists","href":"/api-reference/fulfillment-priority-lists/create-a-fulfillment-priority-list"},{"title":"Get a fulfillment priority list","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /fulfillment-priority-lists/{fulfillmentPriorityListId}","href":"/api-reference/fulfillment-priority-lists/get-a-fulfillment-priority-list"},{"title":"Update a fulfillment priority list","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /fulfillment-priority-lists/{fulfillmentPriorityListId}","href":"/api-reference/fulfillment-priority-lists/update-a-fulfillment-priority-list"},{"title":"Delete a fulfillment priority list","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /fulfillment-priority-lists/{fulfillmentPriorityListId}","href":"/api-reference/fulfillment-priority-lists/delete-a-fulfillment-priority-list"}]},{"group":"PickFlow Warehouse","pages":[{"title":"Resolve a scanned barcode","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/scan/resolve","href":"/api-reference/pickflow-warehouse/resolve-a-scanned-barcode"},{"title":"Get bin contents","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/locations/{locationId}/stock","href":"/api-reference/pickflow-warehouse/get-bin-contents"},{"title":"Get product stock by bin","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/products/{productId}/stock","href":"/api-reference/pickflow-warehouse/get-product-stock-by-bin"},{"title":"Search bins in a warehouse","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/warehouses/{warehouseId}/bins","href":"/api-reference/pickflow-warehouse/search-bins-in-a-warehouse"},{"title":"List open PO lines to receive a product against","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/receivables","href":"/api-reference/pickflow-warehouse/list-open-po-lines-to-receive-a-product-against"}]},{"group":"PickFlow Shipping","pages":[{"title":"List shipping carriers","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/shipping/carriers","href":"/api-reference/pickflow-shipping/list-shipping-carriers"},{"title":"List shipping services for a carrier","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/shipping/services","href":"/api-reference/pickflow-shipping/list-shipping-services-for-a-carrier"},{"title":"List package types for a carrier","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/shipping/packages","href":"/api-reference/pickflow-shipping/list-package-types-for-a-carrier"},{"title":"Buy a shipping label for a fulfillment order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/fulfillment-orders/{fulfillmentOrderId}/label","href":"/api-reference/pickflow-shipping/buy-a-shipping-label-for-a-fulfillment-order"}]},{"group":"Picklists","pages":[{"title":"List picklists","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/picklists","href":"/api-reference/picklists/list-picklists"},{"title":"Get a picklist","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/picklists/{id}","href":"/api-reference/picklists/get-a-picklist"},{"title":"List lots staged in a picklist's WIP bin","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/picklists/{id}/wip-lots","href":"/api-reference/picklists/list-lots-staged-in-a-picklists-wip-bin"},{"title":"Complete picking for a picklist","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/picklists/{id}/complete","href":"/api-reference/picklists/complete-picking-for-a-picklist"}]},{"group":"Cycle Counts","pages":[{"title":"Create a cycle count batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts","href":"/api-reference/cycle-counts/create-a-cycle-count-batch"},{"title":"List active sessions for a warehouse","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts","href":"/api-reference/cycle-counts/list-active-sessions-for-a-warehouse"},{"title":"Create a cycle count batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts","href":"/api-reference/cycle-counts/create-a-cycle-count-batch"},{"title":"SKU-mode item-count estimate per warehouse","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/sku-estimate","href":"/api-reference/cycle-counts/sku-mode-item-count-estimate-per-warehouse"},{"title":"Bin-location-mode item-count estimate per warehouse","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/bin-location-estimate","href":"/api-reference/cycle-counts/bin-location-mode-item-count-estimate-per-warehouse"},{"title":"Search locations (bins) within a warehouse","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/warehouses/{warehouseId}/locations/search","href":"/api-reference/cycle-counts/search-locations-bins-within-a-warehouse"},{"title":"Search products","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/products/search","href":"/api-reference/cycle-counts/search-products"},{"title":"Search lots","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/lots/search","href":"/api-reference/cycle-counts/search-lots"},{"title":"List cycle count batches","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/batches","href":"/api-reference/cycle-counts/list-cycle-count-batches"},{"title":"Get a cycle count batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/batches/{batchId}","href":"/api-reference/cycle-counts/get-a-cycle-count-batch"},{"title":"Delete a batch and all its sessions","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /pickflow/cycle-counts/batches/{batchId}","href":"/api-reference/cycle-counts/delete-a-batch-and-all-its-sessions"},{"title":"Start every draft session in the batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/batches/{batchId}/start-all","href":"/api-reference/cycle-counts/start-every-draft-session-in-the-batch"},{"title":"Export the batch-level variance report as CSV","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/batches/{batchId}/export","href":"/api-reference/cycle-counts/export-the-batch-level-variance-report-as-csv"},{"title":"Get a cycle count session","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/{sessionId}","href":"/api-reference/cycle-counts/get-a-cycle-count-session"},{"title":"Delete a cycle count session","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /pickflow/cycle-counts/{sessionId}","href":"/api-reference/cycle-counts/delete-a-cycle-count-session"},{"title":"List session items","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/{sessionId}/items","href":"/api-reference/cycle-counts/list-session-items"},{"title":"Record a count for one item","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/items/{itemId}/count","href":"/api-reference/cycle-counts/record-a-count-for-one-item"},{"title":"Scan a barcode and record a count","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/scan","href":"/api-reference/cycle-counts/scan-a-barcode-and-record-a-count"},{"title":"Session counting-progress summary","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/{sessionId}/progress","href":"/api-reference/cycle-counts/session-counting-progress-summary"},{"title":"Start counting","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/start","href":"/api-reference/cycle-counts/start-counting"},{"title":"Submit for review","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/submit-review","href":"/api-reference/cycle-counts/submit-for-review"},{"title":"Reopen for counting","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/reopen","href":"/api-reference/cycle-counts/reopen-for-counting"},{"title":"Post a cycle count session","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/post","href":"/api-reference/cycle-counts/post-a-cycle-count-session"},{"title":"Cancel a cycle count session","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/cancel","href":"/api-reference/cycle-counts/cancel-a-cycle-count-session"},{"title":"Reset all counted quantities","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/reset-counts","href":"/api-reference/cycle-counts/reset-all-counted-quantities"},{"title":"Export the session-level variance report as CSV","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/{sessionId}/export","href":"/api-reference/cycle-counts/export-the-session-level-variance-report-as-csv"},{"title":"Download the CSV count-sheet template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/cycle-counts/{sessionId}/template","href":"/api-reference/cycle-counts/download-the-csv-count-sheet-template"},{"title":"Validate an uploaded counting-sheet CSV","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/validate-import","href":"/api-reference/cycle-counts/validate-an-uploaded-counting-sheet-csv"},{"title":"Apply a validated import","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/cycle-counts/{sessionId}/import-counts","href":"/api-reference/cycle-counts/apply-a-validated-import"}]},{"group":"Print Stations","pages":[{"title":"List print stations","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /print-stations","href":"/api-reference/print-stations/list-print-stations"},{"title":"Enqueue a print job","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /print-stations/{stationId}/print-jobs","href":"/api-reference/print-stations/enqueue-a-print-job"},{"title":"List print stations (PickFlow alias)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/print-stations","href":"/api-reference/print-stations/list-print-stations-pickflow-alias"},{"title":"Mint a print station pairing code (PickFlow)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/print-stations/pairing-codes","href":"/api-reference/print-stations/mint-a-print-station-pairing-code-pickflow"},{"title":"List recent print jobs (PickFlow)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /pickflow/print-stations/jobs/recent","href":"/api-reference/print-stations/list-recent-print-jobs-pickflow"},{"title":"Revoke a print station (PickFlow)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/print-stations/{id}/revoke","href":"/api-reference/print-stations/revoke-a-print-station-pickflow"},{"title":"Send a test print (PickFlow)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /pickflow/print-stations/{id}/test-print","href":"/api-reference/print-stations/send-a-test-print-pickflow"},{"title":"Delete a print station (PickFlow)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /pickflow/print-stations/{id}","href":"/api-reference/print-stations/delete-a-print-station-pickflow"}]},{"group":"Purgatory","pages":[{"title":"List non-posted (purgatory) sales orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purgatory/orders","href":"/api-reference/purgatory/list-non-posted-purgatory-sales-orders"},{"title":"Get a single non-posted order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purgatory/orders/{salesOrderId}","href":"/api-reference/purgatory/get-a-single-non-posted-order"},{"title":"Map a line item to a product / toggle flags","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /purgatory/order-items/{salesOrderItemId}","href":"/api-reference/purgatory/map-a-line-item-to-a-product-toggle-flags"},{"title":"Dispatch auto-mapping job","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purgatory/jobs/auto-map","href":"/api-reference/purgatory/dispatch-auto-mapping-job"},{"title":"Dispatch reprocess-purgatory job","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /purgatory/jobs/reprocess","href":"/api-reference/purgatory/dispatch-reprocess-purgatory-job"},{"title":"Get purgatory automation settings","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purgatory/settings","href":"/api-reference/purgatory/get-purgatory-automation-settings"},{"title":"Partially update purgatory settings","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /purgatory/settings","href":"/api-reference/purgatory/partially-update-purgatory-settings"},{"title":"Get purgatory settings schema","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /purgatory/settings/schema","href":"/api-reference/purgatory/get-purgatory-settings-schema"}]},{"group":"Activity Logs","pages":[{"title":"List activity log entries for a subject","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /activity-logs","href":"/api-reference/activity-logs/list-activity-log-entries-for-a-subject"},{"title":"Ask an AI about a record's history","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /activity-logs/ask-ai","href":"/api-reference/activity-logs/ask-an-ai-about-a-records-history"}]},{"group":"Invoices","pages":[{"title":"Invoices","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /invoices","href":"/api-reference/invoices/invoices"},{"title":"Create invoice","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /invoices","href":"/api-reference/invoices/create-invoice"},{"title":"Bulk void or delete invoices","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /invoices/bulk-void-delete","href":"/api-reference/invoices/bulk-void-or-delete-invoices"},{"title":"Single invoice","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /invoices/{id}","href":"/api-reference/invoices/single-invoice"},{"title":"Update invoice","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /invoices/{id}","href":"/api-reference/invoices/update-invoice"},{"title":"Delete invoice","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /invoices/{id}","href":"/api-reference/invoices/delete-invoice"},{"title":"Void invoice","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /invoices/{invoiceId}/void","href":"/api-reference/invoices/void-invoice"},{"title":"Approve invoice","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /invoices/{invoiceId}/approve","href":"/api-reference/invoices/approve-invoice"},{"title":"Reject invoice","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /invoices/{invoiceId}/reject","href":"/api-reference/invoices/reject-invoice"},{"title":"Email a Draft invoice","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /invoices/{invoiceId}/send-email","href":"/api-reference/invoices/email-a-draft-invoice"},{"title":"Estimates","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /estimates","href":"/api-reference/invoices/estimates"},{"title":"Single estimate","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /estimates/{estimateId}","href":"/api-reference/invoices/single-estimate"}]},{"group":"Customer Returns","pages":[{"title":"List customer returns","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /returns","href":"/api-reference/customer-returns/list-customer-returns"},{"title":"Create customer return","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /returns","href":"/api-reference/customer-returns/create-customer-return"},{"title":"Single customer return","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /returns/{id}","href":"/api-reference/customer-returns/single-customer-return"},{"title":"Mark return received","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /returns/{id}/receive","href":"/api-reference/customer-returns/mark-return-received"},{"title":"Update return restock flag","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /returns/{id}/restock","href":"/api-reference/customer-returns/update-return-restock-flag"},{"title":"Delete customer return","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /returns/{id}","href":"/api-reference/customer-returns/delete-customer-return"},{"title":"List refunds","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /refunds","href":"/api-reference/customer-returns/list-refunds"},{"title":"Single refund","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /refunds/{refundId}","href":"/api-reference/customer-returns/single-refund"}]},{"group":"Deals (CRM)","pages":[{"title":"List deals","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /deals","href":"/api-reference/deals/list-deals"},{"title":"Single deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /deals/{dealId}","href":"/api-reference/deals/single-deal"},{"title":"List bills linked to a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /deals/{dealId}/bills","href":"/api-reference/deals/list-bills-linked-to-a-deal"},{"title":"Link a bill to a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /deals/{dealId}/bills/{billId}","href":"/api-reference/deals/link-a-bill-to-a-deal"},{"title":"Unlink a bill from a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /deals/{dealId}/bills/{billId}","href":"/api-reference/deals/unlink-a-bill-from-a-deal"},{"title":"List supplier POs linked to a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /deals/{dealId}/purchase-orders","href":"/api-reference/deals/list-supplier-pos-linked-to-a-deal"},{"title":"Link a supplier PO to a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /deals/{dealId}/purchase-orders/{purchaseOrderId}","href":"/api-reference/deals/link-a-supplier-po-to-a-deal"},{"title":"Unlink a supplier PO from a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /deals/{dealId}/purchase-orders/{purchaseOrderId}","href":"/api-reference/deals/unlink-a-supplier-po-from-a-deal"},{"title":"List work orders linked to a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /deals/{dealId}/work-orders","href":"/api-reference/deals/list-work-orders-linked-to-a-deal"},{"title":"Link a work order to a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /deals/{dealId}/work-orders/{workOrderId}","href":"/api-reference/deals/link-a-work-order-to-a-deal"},{"title":"Unlink a work order from a deal","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /deals/{dealId}/work-orders/{workOrderId}","href":"/api-reference/deals/unlink-a-work-order-from-a-deal"}]}]},{"group":"Manufacturing","pages":[{"group":"Work Orders","pages":[{"title":"List work orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders","href":"/api-reference/work-orders/list-work-orders"},{"title":"Create a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders","href":"/api-reference/work-orders/create-a-work-order"},{"title":"Get a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}","href":"/api-reference/work-orders/get-a-work-order"},{"title":"Update a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /work-orders/{workOrderId}","href":"/api-reference/work-orders/update-a-work-order"},{"title":"Delete a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /work-orders/{workOrderId}","href":"/api-reference/work-orders/delete-a-work-order"},{"title":"Bulk create work orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/bulk","href":"/api-reference/work-orders/bulk-create-work-orders"},{"title":"Bulk delete work orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /work-orders/bulk","href":"/api-reference/work-orders/bulk-delete-work-orders"},{"title":"Bulk update work order status","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/bulk/status","href":"/api-reference/work-orders/bulk-update-work-order-status"},{"title":"Bulk quick-complete work orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/bulk/quick-complete","href":"/api-reference/work-orders/bulk-quick-complete-work-orders"},{"title":"Plan a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/plan","href":"/api-reference/work-orders/plan-a-work-order"},{"title":"Start a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/start","href":"/api-reference/work-orders/start-a-work-order"},{"title":"Complete a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/complete","href":"/api-reference/work-orders/complete-a-work-order"},{"title":"Cancel a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/cancel","href":"/api-reference/work-orders/cancel-a-work-order"},{"title":"Hold a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/hold","href":"/api-reference/work-orders/hold-a-work-order"},{"title":"Release a work order from hold","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/unhold","href":"/api-reference/work-orders/release-a-work-order-from-hold"},{"title":"Refresh a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/refresh","href":"/api-reference/work-orders/refresh-a-work-order"}]},{"group":"Work Order Steps \u0026 Production","pages":[{"title":"List work order steps","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/steps","href":"/api-reference/work-orders/list-work-order-steps"},{"title":"Complete a work order step","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/steps/{stepId}/complete","href":"/api-reference/work-orders/complete-a-work-order-step"},{"title":"Skip a work order step","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/steps/{stepId}/skip","href":"/api-reference/work-orders/skip-a-work-order-step"},{"title":"Generate work order steps","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/generate-steps","href":"/api-reference/work-orders/generate-work-order-steps"},{"title":"Regenerate work order steps","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/regenerate-steps","href":"/api-reference/work-orders/regenerate-work-order-steps"},{"title":"List work order step completions","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/completions","href":"/api-reference/work-orders/list-work-order-step-completions"},{"title":"List production entries","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/production-entries","href":"/api-reference/work-orders/list-production-entries"},{"title":"Create a production entry","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/production-entries","href":"/api-reference/work-orders/create-a-production-entry"},{"title":"Delete a production entry","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /work-orders/{workOrderId}/production-entries/{entryId}","href":"/api-reference/work-orders/delete-a-production-entry"},{"title":"Get status history","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/status-history","href":"/api-reference/work-orders/get-status-history"},{"title":"Get work order events","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/events","href":"/api-reference/work-orders/get-work-order-events"},{"title":"Update custom fields","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /work-orders/{workOrderId}/custom-fields","href":"/api-reference/work-orders/update-custom-fields"},{"title":"Update notes","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /work-orders/{workOrderId}/notes","href":"/api-reference/work-orders/update-notes"},{"title":"Set service fee","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /work-orders/{workOrderId}/service-fee","href":"/api-reference/work-orders/set-service-fee"},{"title":"Update alternate IDs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /work-orders/{workOrderId}/alternate-ids","href":"/api-reference/work-orders/update-alternate-ids"},{"title":"Update expected completion date","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /work-orders/{workOrderId}/expected-completion-date","href":"/api-reference/work-orders/update-expected-completion-date"},{"title":"List extra costs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/extra-costs","href":"/api-reference/work-orders/list-extra-costs"},{"title":"Add an extra cost","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/extra-costs","href":"/api-reference/work-orders/add-an-extra-cost"},{"title":"Update an extra cost","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /work-orders/{workOrderId}/extra-costs/{extraCostId}","href":"/api-reference/work-orders/update-an-extra-cost"},{"title":"Delete an extra cost","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /work-orders/{workOrderId}/extra-costs/{extraCostId}","href":"/api-reference/work-orders/delete-an-extra-cost"}]},{"group":"Work Order Materials \u0026 Orders","pages":[{"title":"List work order raw materials","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/raw-materials","href":"/api-reference/work-orders/list-work-order-raw-materials"},{"title":"List work order BOM items","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/bom-items","href":"/api-reference/work-orders/list-work-order-bom-items"},{"title":"Get work order sub-assembly stock","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/sub-assembly-stock","href":"/api-reference/work-orders/get-work-order-sub-assembly-stock"},{"title":"Receive finished goods","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/receive","href":"/api-reference/work-orders/receive-finished-goods"},{"title":"Quick complete a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/quick-complete","href":"/api-reference/work-orders/quick-complete-a-work-order"},{"title":"Adjust committed stock","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/adjust-committed-stock","href":"/api-reference/work-orders/adjust-committed-stock"},{"title":"List work order purchase order links","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/po-links","href":"/api-reference/work-orders/list-work-order-purchase-order-links"},{"title":"Add a purchase order link to a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/po-links","href":"/api-reference/work-orders/add-a-purchase-order-link-to-a-work-order"},{"title":"Remove a purchase order link from a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /work-orders/{workOrderId}/po-links/{linkId}","href":"/api-reference/work-orders/remove-a-purchase-order-link-from-a-work-order"},{"title":"Allocate incoming stock to a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/allocate-incoming-stock","href":"/api-reference/work-orders/allocate-incoming-stock-to-a-work-order"},{"title":"List work order assembly order links","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/ao-links","href":"/api-reference/work-orders/list-work-order-assembly-order-links"},{"title":"List work order receiving reports","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/receiving-reports","href":"/api-reference/work-orders/list-work-order-receiving-reports"},{"title":"Generate purchase orders for a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/generate-purchase-orders","href":"/api-reference/work-orders/generate-purchase-orders-for-a-work-order"},{"title":"Generate purchase orders from a work order BOM","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/generate-purchase-orders-from-bom","href":"/api-reference/work-orders/generate-purchase-orders-from-a-work-order-bom"},{"title":"Generate transfer orders from a work order BOM","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/generate-transfer-orders-from-bom","href":"/api-reference/work-orders/generate-transfer-orders-from-a-work-order-bom"},{"title":"Generate a finished goods transfer order for a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/generate-finished-goods-transfer-order","href":"/api-reference/work-orders/generate-a-finished-goods-transfer-order-for-a-work-order"},{"title":"Create a draft assembly order for a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/create-assembly-order","href":"/api-reference/work-orders/create-a-draft-assembly-order-for-a-work-order"},{"title":"Create a draft assembly order from a work order BOM item","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/create-assembly-order-from-bom-item","href":"/api-reference/work-orders/create-a-draft-assembly-order-from-a-work-order-bom-item"},{"title":"Create draft assembly orders from work order BOM items","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/create-assembly-orders-from-bom-items","href":"/api-reference/work-orders/create-draft-assembly-orders-from-work-order-bom-items"},{"title":"Assembly orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /assembly-orders","href":"/api-reference/assembly-orders/assembly-orders"},{"title":"Get an assembly order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /assembly-orders/{assemblyOrderId}","href":"/api-reference/assembly-orders/get-an-assembly-order"},{"title":"Preview an assembly order ledger correction","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /assembly-orders/{assemblyOrderId}/ledger-correction","href":"/api-reference/assembly-orders/preview-an-assembly-order-ledger-correction"},{"title":"Correct a completed assembly order's quantities","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /assembly-orders/{assemblyOrderId}/ledger-correction","href":"/api-reference/assembly-orders/correct-a-completed-assembly-orders-quantities"},{"title":"Preview a posted quantity correction","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /posted-quantity-corrections/preview","href":"/api-reference/assembly-orders/preview-a-posted-quantity-correction"},{"title":"Correct a posted quantity","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /posted-quantity-corrections","href":"/api-reference/assembly-orders/correct-a-posted-quantity"}]},{"group":"Work Order Comments \u0026 Shipments","pages":[{"title":"List work order comments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/comments","href":"/api-reference/work-orders/list-work-order-comments"},{"title":"Create a work order comment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/comments","href":"/api-reference/work-orders/create-a-work-order-comment"},{"title":"Delete a work order comment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /work-orders/{workOrderId}/comments/{commentId}","href":"/api-reference/work-orders/delete-a-work-order-comment"},{"title":"Upload a work order comment attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/comments/{commentId}/attachments","href":"/api-reference/work-orders/upload-a-work-order-comment-attachment"},{"title":"Download a work order comment attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/comments/{commentId}/attachments/{attachmentId}","href":"/api-reference/work-orders/download-a-work-order-comment-attachment"},{"title":"Delete a work order comment attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /work-orders/{workOrderId}/comments/{commentId}/attachments/{attachmentId}","href":"/api-reference/work-orders/delete-a-work-order-comment-attachment"},{"title":"List work order material scrap","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/material-scrap","href":"/api-reference/work-orders/list-work-order-material-scrap"},{"title":"Record work order material scrap","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/material-scrap","href":"/api-reference/work-orders/record-work-order-material-scrap"},{"title":"List work order shipments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/shipments","href":"/api-reference/work-orders/list-work-order-shipments"},{"title":"Create a work order shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/shipments","href":"/api-reference/work-orders/create-a-work-order-shipment"},{"title":"Update a work order shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /work-orders/{workOrderId}/shipments/{shipmentId}","href":"/api-reference/work-orders/update-a-work-order-shipment"},{"title":"Receive a work order shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/shipments/{shipmentId}/receive","href":"/api-reference/work-orders/receive-a-work-order-shipment"},{"title":"List work order shipment receipts","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/shipment-receipts","href":"/api-reference/work-orders/list-work-order-shipment-receipts"},{"title":"Create a work order shipment receipt","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /work-orders/{workOrderId}/shipment-receipts","href":"/api-reference/work-orders/create-a-work-order-shipment-receipt"},{"title":"Delete a work order shipment receipt","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /work-orders/{workOrderId}/shipment-receipts/{receiptId}","href":"/api-reference/work-orders/delete-a-work-order-shipment-receipt"}]},{"group":"Production Batches","pages":[{"title":"List production batches","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches","href":"/api-reference/production-batches/list-production-batches"},{"title":"Create a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /production-batches","href":"/api-reference/production-batches/create-a-production-batch"},{"title":"Get a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}","href":"/api-reference/production-batches/get-a-production-batch"},{"title":"Update a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /production-batches/{batchId}","href":"/api-reference/production-batches/update-a-production-batch"},{"title":"Delete a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /production-batches/{batchId}","href":"/api-reference/production-batches/delete-a-production-batch"},{"title":"Bulk update production batch status","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /production-batches/bulk/status","href":"/api-reference/production-batches/bulk-update-production-batch-status"},{"title":"Bulk remove work orders from batches","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /production-batches/bulk/work-orders","href":"/api-reference/production-batches/bulk-remove-work-orders-from-batches"},{"title":"List production batches available for linking","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/available-for-linking","href":"/api-reference/production-batches/list-production-batches-available-for-linking"},{"title":"Add work orders to a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /production-batches/{batchId}/work-orders","href":"/api-reference/production-batches/add-work-orders-to-a-production-batch"},{"title":"Remove a work order from a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /production-batches/{batchId}/work-orders/{workOrderId}","href":"/api-reference/production-batches/remove-a-work-order-from-a-production-batch"},{"title":"Update fields on all work orders in a batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /production-batches/{batchId}/work-orders/fields","href":"/api-reference/production-batches/update-fields-on-all-work-orders-in-a-batch"},{"title":"Get production batch summary","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/summary","href":"/api-reference/production-batches/get-production-batch-summary"},{"title":"Sync production batch status","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /production-batches/{batchId}/sync-status","href":"/api-reference/production-batches/sync-production-batch-status"},{"title":"Update production batch status","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /production-batches/{batchId}/status","href":"/api-reference/production-batches/update-production-batch-status"},{"title":"List purchase order links for a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/po-links","href":"/api-reference/production-batches/list-purchase-order-links-for-a-production-batch"},{"title":"List assembly order links for a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/ao-links","href":"/api-reference/production-batches/list-assembly-order-links-for-a-production-batch"},{"title":"List receiving reports for a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/receiving-reports","href":"/api-reference/production-batches/list-receiving-reports-for-a-production-batch"},{"title":"List status history for a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/status-history","href":"/api-reference/production-batches/list-status-history-for-a-production-batch"},{"title":"List events for a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/events","href":"/api-reference/production-batches/list-events-for-a-production-batch"},{"title":"Export a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/export","href":"/api-reference/production-batches/export-a-production-batch"},{"title":"Generate transfer orders for a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /production-batches/{batchId}/generate-transfer-orders","href":"/api-reference/production-batches/generate-transfer-orders-for-a-production-batch"},{"title":"List sub-assemblies for a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/sub-assemblies","href":"/api-reference/production-batches/list-sub-assemblies-for-a-production-batch"},{"title":"Export production batch sub-assemblies","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /production-batches/{batchId}/sub-assemblies/export","href":"/api-reference/production-batches/export-production-batch-sub-assemblies"},{"title":"Bulk create assembly orders for sub-assemblies","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /production-batches/{batchId}/sub-assemblies/create-assembly-orders","href":"/api-reference/production-batches/bulk-create-assembly-orders-for-sub-assemblies"},{"title":"Refresh a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /production-batches/{batchId}/refresh","href":"/api-reference/production-batches/refresh-a-production-batch"}]}]},{"group":"Accounts Payable","pages":[{"group":"Bills","pages":[{"title":"List bills","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills","href":"/api-reference/bills/list-bills"},{"title":"Create a bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills","href":"/api-reference/bills/create-a-bill"},{"title":"Single bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/{id}","href":"/api-reference/bills/single-bill"},{"title":"Update a bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /bills/{id}","href":"/api-reference/bills/update-a-bill"},{"title":"Bills summary","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/summary","href":"/api-reference/bills/bills-summary"},{"title":"Check for duplicate bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/check-duplicate","href":"/api-reference/bills/check-for-duplicate-bill"},{"title":"Calculate bill due date","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/calculate-due-date","href":"/api-reference/bills/calculate-bill-due-date"},{"title":"Prefill bill from shipments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/from-shipments/prefill","href":"/api-reference/bills/prefill-bill-from-shipments"},{"title":"Parse bill import","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/import/parse","href":"/api-reference/bills/parse-bill-import"},{"title":"Bills by purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/by-purchase-order/{id}","href":"/api-reference/bills/bills-by-purchase-order"},{"title":"Bills by vendor","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/by-vendor/{id}","href":"/api-reference/bills/bills-by-vendor"},{"title":"Update bill status","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /bills/{id}/status","href":"/api-reference/bills/update-bill-status"},{"title":"Post a bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/post","href":"/api-reference/bills/post-a-bill"},{"title":"Reopen a bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/reopen","href":"/api-reference/bills/reopen-a-bill"},{"title":"Hold a bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/hold","href":"/api-reference/bills/hold-a-bill"},{"title":"Unhold a bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/unhold","href":"/api-reference/bills/unhold-a-bill"}]},{"group":"Bill Payments","pages":[{"title":"Record a bill payment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/payments","href":"/api-reference/bills/record-a-bill-payment"},{"title":"Delete a bill payment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /bills/{id}/payments/{paymentId}","href":"/api-reference/bills/delete-a-bill-payment"},{"title":"Void a bill payment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/payments/{paymentId}/void","href":"/api-reference/bills/void-a-bill-payment"}]},{"group":"Bill Attachments","pages":[{"title":"Upload a bill attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/attachments","href":"/api-reference/bills/upload-a-bill-attachment"},{"title":"Download a bill attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/{id}/attachments/{attachmentId}/download","href":"/api-reference/bills/download-a-bill-attachment"},{"title":"Delete a bill attachment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /bills/{id}/attachments/{attachmentId}","href":"/api-reference/bills/delete-a-bill-attachment"}]},{"group":"Bill Allocations","pages":[{"title":"Bills allocation inbox","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/allocation-inbox","href":"/api-reference/bills/bills-allocation-inbox"},{"title":"List bill allocations","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/{id}/allocations","href":"/api-reference/bills/list-bill-allocations"},{"title":"Create a bill allocation","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/allocations","href":"/api-reference/bills/create-a-bill-allocation"},{"title":"Delete a bill allocation","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /bills/{id}/allocations/{allocationId}","href":"/api-reference/bills/delete-a-bill-allocation"},{"title":"Auto-allocate bill","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/auto-allocate","href":"/api-reference/bills/auto-allocate-bill"},{"title":"Bulk reconcile bills to a purchase order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/bulk-reconcile","href":"/api-reference/bills/bulk-reconcile-bills-to-a-purchase-order"},{"title":"Get bill billable lines","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/{id}/billable-lines","href":"/api-reference/bills/get-bill-billable-lines"},{"title":"Get bill candidate lines","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/{id}/candidate-lines","href":"/api-reference/bills/get-bill-candidate-lines"},{"title":"Get eligible lines for a bill item","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/{id}/bill-items/{billItemId}/eligible-lines","href":"/api-reference/bills/get-eligible-lines-for-a-bill-item"},{"title":"Get AI suggestions for a bill item","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/bill-items/{billItemId}/ai-suggestions","href":"/api-reference/bills/get-ai-suggestions-for-a-bill-item"},{"title":"Prorate allocation for a bill item","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/bill-items/{billItemId}/prorate-allocate","href":"/api-reference/bills/prorate-allocation-for-a-bill-item"},{"title":"Get bill variance","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/{id}/variance","href":"/api-reference/bills/get-bill-variance"},{"title":"Resolve bill variance","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /bills/{id}/resolve-variance","href":"/api-reference/bills/resolve-bill-variance"},{"title":"Get billable lines for a shipment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /shipments/{shipmentId}/billable-lines","href":"/api-reference/bills/get-billable-lines-for-a-shipment"},{"title":"Get billable lines for an assembly order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /assembly-orders/{assemblyOrderId}/billable-lines","href":"/api-reference/bills/get-billable-lines-for-an-assembly-order"},{"title":"Get billable lines for a work order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /work-orders/{workOrderId}/billable-lines","href":"/api-reference/bills/get-billable-lines-for-a-work-order"},{"title":"Get billable lines for a production batch","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /production-batches/{batchId}/billable-lines","href":"/api-reference/bills/get-billable-lines-for-a-production-batch"}]},{"group":"Prepayments","pages":[{"title":"List prepayments","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /prepayments","href":"/api-reference/prepayments/list-prepayments"},{"title":"Create a prepayment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /prepayments","href":"/api-reference/prepayments/create-a-prepayment"},{"title":"Apply a prepayment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /prepayments/{id}/apply","href":"/api-reference/prepayments/apply-a-prepayment"},{"title":"Reverse a prepayment application","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /prepayments/{id}/applications/{applicationId}/reverse","href":"/api-reference/prepayments/reverse-a-prepayment-application"}]},{"group":"Vendor Credits","pages":[{"title":"List vendor credits","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /vendor-credits","href":"/api-reference/vendor-credits/list-vendor-credits"},{"title":"Create a vendor credit","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /vendor-credits","href":"/api-reference/vendor-credits/create-a-vendor-credit"},{"title":"Get a vendor credit","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /vendor-credits/{id}","href":"/api-reference/vendor-credits/get-a-vendor-credit"},{"title":"Apply a vendor credit","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /vendor-credits/{id}/apply","href":"/api-reference/vendor-credits/apply-a-vendor-credit"},{"title":"Cancel a vendor credit","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /vendor-credits/{id}/cancel","href":"/api-reference/vendor-credits/cancel-a-vendor-credit"},{"title":"Delete a vendor credit application","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /vendor-credits/{id}/applications/{applicationId}","href":"/api-reference/vendor-credits/delete-a-vendor-credit-application"},{"title":"Reverse a vendor credit application","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /vendor-credits/{id}/applications/{applicationId}/reverse","href":"/api-reference/vendor-credits/reverse-a-vendor-credit-application"},{"title":"Get vendor statement","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /vendors/{id}/statement","href":"/api-reference/vendor-credits/get-vendor-statement"}]},{"group":"Vendor Returns","pages":[{"title":"List vendor returns","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /vendor-returns","href":"/api-reference/vendor-returns/list-vendor-returns"},{"title":"Create a vendor return","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /vendor-returns","href":"/api-reference/vendor-returns/create-a-vendor-return"},{"title":"Get a vendor return","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /vendor-returns/{id}","href":"/api-reference/vendor-returns/get-a-vendor-return"},{"title":"Process a vendor return","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /vendor-returns/{id}/process","href":"/api-reference/vendor-returns/process-a-vendor-return"},{"title":"Generate credit for a vendor return","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /vendor-returns/{id}/generate-credit","href":"/api-reference/vendor-returns/generate-credit-for-a-vendor-return"},{"title":"Cancel a vendor return","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /vendor-returns/{id}/cancel","href":"/api-reference/vendor-returns/cancel-a-vendor-return"}]}]},{"group":"Reports \u0026 Analytics","pages":[{"group":"Customer Topology","pages":[{"title":"Customer operational topology snapshot","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /customer-topology","href":"/api-reference/customer-topology/customer-operational-topology-snapshot"}]},{"group":"Stock Snapshot","pages":[{"title":"Stock snapshot (JSON, CSV, or Excel)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /stock-snapshot","href":"/api-reference/stock-snapshot/stock-snapshot-json-csv-or-excel"}]},{"group":"Consumption","pages":[{"title":"Consumption report (paginated)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/transactions/consumption","href":"/api-reference/consumption/consumption-report-paginated"},{"title":"Consumption report export","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/transactions/consumption/export","href":"/api-reference/consumption/consumption-report-export"}]},{"group":"Inventory Aging","pages":[{"title":"Inventory aging (paginated)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/aging","href":"/api-reference/inventory-aging/inventory-aging-paginated"},{"title":"Inventory aging export","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /inventory/aging/export","href":"/api-reference/inventory-aging/inventory-aging-export"}]},{"group":"Bills Aging","pages":[{"title":"AP bills aging by vendor","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /bills/reports/aging","href":"/api-reference/bills-reports/ap-bills-aging-by-vendor"}]},{"group":"Forecast","pages":[{"title":"Materialized forecast rows (paginated)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-data","href":"/api-reference/forecast/materialized-forecast-rows-paginated"},{"title":"Materialized forecast export","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-data/export","href":"/api-reference/forecast/materialized-forecast-export"},{"title":"Forecast table refresh metadata","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-data/refresh-status","href":"/api-reference/forecast/forecast-table-refresh-metadata"},{"title":"Forecast row by product (RFQ) ID","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-data/product/{rfqId}","href":"/api-reference/forecast/forecast-row-by-product-rfq-id"},{"title":"Forecast row by materialized row ID","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-data/{id}","href":"/api-reference/forecast/forecast-row-by-materialized-row-id"},{"title":"Materialized forecast by warehouse group (paginated)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-warehouse-data","href":"/api-reference/forecast/materialized-forecast-by-warehouse-group-paginated"},{"title":"Warehouse forecast export","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-warehouse-data/export","href":"/api-reference/forecast/warehouse-forecast-export"},{"title":"Warehouse forecast refresh metadata","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-warehouse-data/refresh-status","href":"/api-reference/forecast/warehouse-forecast-refresh-metadata"},{"title":"All warehouse-group forecast rows for a product","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-warehouse-data/product/{rfqId}","href":"/api-reference/forecast/all-warehouse-group-forecast-rows-for-a-product"},{"title":"Warehouse forecast row by ID","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /forecast-warehouse-data/{id}","href":"/api-reference/forecast/warehouse-forecast-row-by-id"}]},{"group":"Core Inventory Ledger","pages":[{"title":"List Core inventory transactions","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /core/inventory-transactions","href":"/api-reference/core-inventory-ledger/list-core-inventory-transactions"},{"title":"Export Core inventory transactions","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /core/inventory-transactions/export","href":"/api-reference/core-inventory-ledger/export-core-inventory-transactions"},{"title":"Get a Core inventory transaction","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /core/inventory-transactions/{transactionId}","href":"/api-reference/core-inventory-ledger/get-a-core-inventory-transaction"},{"title":"List Core inventory costs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /core/inventory-costs","href":"/api-reference/core-inventory-ledger/list-core-inventory-costs"},{"title":"Export Core inventory costs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /core/inventory-costs/export","href":"/api-reference/core-inventory-ledger/export-core-inventory-costs"},{"title":"Get a Core inventory cost","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /core/inventory-costs/{costId}","href":"/api-reference/core-inventory-ledger/get-a-core-inventory-cost"}]},{"group":"Reports","pages":[{"title":"Sales by company report","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/sales-by-company","href":"/api-reference/reports/sales-by-company-report"},{"title":"Close the Books — sales summary by channel","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/close-books/sales-summary","href":"/api-reference/reports/close-the-books-—-sales-summary-by-channel"},{"title":"Close the Books — zero-cost line items in range","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/close-books/zero-cost-items","href":"/api-reference/reports/close-the-books-—-zero-cost-line-items-in-range"},{"title":"Close the Books — zero valuation inventory","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/close-books/zero-valuation-inventory","href":"/api-reference/reports/close-the-books-—-zero-valuation-inventory"},{"title":"Close the Books — invoice sync errors","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/close-books/invoice-sync-errors","href":"/api-reference/reports/close-the-books-—-invoice-sync-errors"},{"title":"Stock / cost-layer discrepancy rows","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/inventory-discrepancy","href":"/api-reference/reports/stock-cost-layer-discrepancy-rows"},{"title":"Discrepancy dashboard summary","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/inventory-discrepancy/dashboard","href":"/api-reference/reports/discrepancy-dashboard-summary"},{"title":"Transaction COGS (paginated, read-only)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/transaction-cogs","href":"/api-reference/reports/transaction-cogs-paginated-read-only"},{"title":"Update per-line COGS from unit cost","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /transaction-cogs/update-costs","href":"/api-reference/reports/update-per-line-cogs-from-unit-cost"},{"title":"EDI documents (paginated)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/edi","href":"/api-reference/reports/edi-documents-paginated"},{"title":"EDI aggregate summary","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/edi/summary","href":"/api-reference/reports/edi-aggregate-summary"},{"title":"EDI report CSV export","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /reports/edi/export","href":"/api-reference/reports/edi-report-csv-export"}]}]},{"group":"Drive","pages":[{"group":"Folders","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/folders","href":"/api-reference/drive/list-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/folders","href":"/api-reference/drive/create-a-folder"},{"title":"Get a folder and its contents","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/folders/{id}","href":"/api-reference/drive/get-a-folder-and-its-contents"},{"title":"Update a folder","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /file-cabinet/folders/{id}","href":"/api-reference/drive/update-a-folder"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /file-cabinet/folders/{id}","href":"/api-reference/drive/delete-a-folder"}]},{"group":"Files","pages":[{"title":"Search files","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/files","href":"/api-reference/drive/search-files"},{"title":"Upload a small file","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/files","href":"/api-reference/drive/upload-a-small-file"},{"title":"Get a file","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/files/{id}","href":"/api-reference/drive/get-a-file"},{"title":"Update a file","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /file-cabinet/files/{id}","href":"/api-reference/drive/update-a-file"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /file-cabinet/files/{id}","href":"/api-reference/drive/delete-a-file"},{"title":"Get a download URL","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/files/{id}/download","href":"/api-reference/drive/get-a-download-url"},{"title":"Get a file thumbnail","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/files/{id}/thumbnail","href":"/api-reference/drive/get-a-file-thumbnail"},{"title":"Get image file content","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/files/{id}/content","href":"/api-reference/drive/get-image-file-content"},{"title":"List file versions","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/files/{id}/versions","href":"/api-reference/drive/list-file-versions"},{"title":"List file activity","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/files/{id}/activity","href":"/api-reference/drive/list-file-activity"},{"title":"Apply an image to a SKU","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/files/{id}/apply-to-sku","href":"/api-reference/drive/apply-an-image-to-a-sku"},{"title":"Turn on the public image URL","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/files/{id}/public-image","href":"/api-reference/drive/turn-on-the-public-image-url"}]},{"group":"Large Uploads","pages":[{"title":"Start a large upload","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/uploads","href":"/api-reference/drive/start-a-large-upload"},{"title":"Finish a large upload","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/uploads/{versionId}/complete","href":"/api-reference/drive/finish-a-large-upload"}]},{"group":"Drive Tags","pages":[{"title":"Set folder tags","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /file-cabinet/folder/{id}/tags","href":"/api-reference/drive/set-folder-tags"},{"title":"Set file tags","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /file-cabinet/file/{id}/tags","href":"/api-reference/drive/set-file-tags"},{"title":"List tags","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/tags","href":"/api-reference/drive/list-tags"},{"title":"Create a tag","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/tags","href":"/api-reference/drive/create-a-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /file-cabinet/tags/{id}","href":"/api-reference/drive/update-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /file-cabinet/tags/{id}","href":"/api-reference/drive/delete-a-tag"}]},{"group":"Record Attachments","pages":[{"title":"List where a file is used","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/files/{id}/references","href":"/api-reference/drive/list-where-a-file-is-used"},{"title":"List files attached to a record","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/references","href":"/api-reference/drive/list-files-attached-to-a-record"},{"title":"Attach files to a record","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/references","href":"/api-reference/drive/attach-files-to-a-record"},{"title":"Detach a file from a record","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /file-cabinet/references/{id}","href":"/api-reference/drive/detach-a-file-from-a-record"}]},{"group":"Trash","pages":[{"title":"List the trash","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /file-cabinet/trash","href":"/api-reference/drive/list-the-trash"},{"title":"Restore from the trash","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /file-cabinet/trash/restore","href":"/api-reference/drive/restore-from-the-trash"},{"title":"Delete a folder forever","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /file-cabinet/trash/folder/{id}","href":"/api-reference/drive/delete-a-folder-forever"},{"title":"Delete a file forever","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /file-cabinet/trash/file/{id}","href":"/api-reference/drive/delete-a-file-forever"}]}]},{"group":"Configuration","pages":[{"group":"Tags","pages":[{"title":"Get tags for a record","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /{recordType}/{recordId}/tags","href":"/api-reference/tags/get-tags-for-a-record"},{"title":"Replace all tags on a record","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /{recordType}/{recordId}/tags","href":"/api-reference/tags/replace-all-tags-on-a-record"},{"title":"Attach tags to a record","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /{recordType}/{recordId}/tags","href":"/api-reference/tags/attach-tags-to-a-record"},{"title":"Detach a tag from a record","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /{recordType}/{recordId}/tags/{id}","href":"/api-reference/tags/detach-a-tag-from-a-record"}]},{"group":"Custom Fields","pages":[{"title":"Get custom field definitions","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /custom-fields","href":"/api-reference/custom-fields/get-custom-field-definitions"},{"title":"Create a custom field definition","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /custom-fields","href":"/api-reference/custom-fields/create-a-custom-field-definition"},{"title":"Get a custom field definition","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /custom-fields/{customFieldId}","href":"/api-reference/custom-fields/get-a-custom-field-definition"},{"title":"Update a custom field definition","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /custom-fields/{customFieldId}","href":"/api-reference/custom-fields/update-a-custom-field-definition"},{"title":"Partially update a custom field definition","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /custom-fields/{customFieldId}","href":"/api-reference/custom-fields/partially-update-a-custom-field-definition"},{"title":"Add or remove dropdown choices","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /custom-fields/{customFieldId}/choices","href":"/api-reference/custom-fields/add-or-remove-dropdown-choices"},{"title":"Delete a custom field definition","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /custom-fields/{customFieldId}","href":"/api-reference/custom-fields/delete-a-custom-field-definition"},{"title":"Get custom field values","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /{recordType}/{recordId}/custom-fields","href":"/api-reference/custom-fields/get-custom-field-values"},{"title":"Update custom field values","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /{recordType}/{recordId}/custom-fields","href":"/api-reference/custom-fields/update-custom-field-values"}]},{"group":"Users","pages":[{"title":"Users","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /users","href":"/api-reference/users/users"},{"title":"User","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /users/{userId}","href":"/api-reference/users/user"}]},{"group":"Carton Templates","pages":[{"title":"List carton templates","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /carton-templates","href":"/api-reference/carton-templates/list-carton-templates"},{"title":"Create a carton template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /carton-templates","href":"/api-reference/carton-templates/create-a-carton-template"},{"title":"Single carton template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /carton-templates/{cartonTemplateId}","href":"/api-reference/carton-templates/single-carton-template"},{"title":"Update a carton template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /carton-templates/{cartonTemplateId}","href":"/api-reference/carton-templates/update-a-carton-template"},{"title":"Update a carton template (PATCH)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /carton-templates/{cartonTemplateId}","href":"/api-reference/carton-templates/update-a-carton-template-patch"},{"title":"Delete a carton template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /carton-templates/{cartonTemplateId}","href":"/api-reference/carton-templates/delete-a-carton-template"}]},{"group":"Shipping Rules","pages":[{"title":"Get shipping rules","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /shipping-rules","href":"/api-reference/shipping-rules/get-shipping-rules"},{"title":"Replace shipping rules","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /shipping-rules","href":"/api-reference/shipping-rules/replace-shipping-rules"},{"title":"Get the shipping-rule schema","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /shipping-rules/schema","href":"/api-reference/shipping-rules/get-the-shipping-rule-schema"},{"title":"Test shipping rules against an order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /shipping-rules/test","href":"/api-reference/shipping-rules/test-shipping-rules-against-an-order"}]},{"group":"Automations","pages":[{"title":"Get the automation catalog","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /automations/schema","href":"/api-reference/automations/get-the-automation-catalog"},{"title":"List automation rules","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /automations","href":"/api-reference/automations/list-automation-rules"},{"title":"Create an automation rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /automations","href":"/api-reference/automations/create-an-automation-rule"},{"title":"Get an automation rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /automations/{automationId}","href":"/api-reference/automations/get-an-automation-rule"},{"title":"Replace an automation rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /automations/{automationId}","href":"/api-reference/automations/replace-an-automation-rule"},{"title":"Delete an automation rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /automations/{automationId}","href":"/api-reference/automations/delete-an-automation-rule"},{"title":"Set an automation rule's status","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /automations/{automationId}/status","href":"/api-reference/automations/set-an-automation-rules-status"},{"title":"Live-test an automation event","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /automations/runs","href":"/api-reference/automations/live-test-an-automation-event"},{"title":"List automation runs","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /automations/runs","href":"/api-reference/automations/list-automation-runs"},{"title":"Get an automation run","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /automations/runs/{runId}","href":"/api-reference/automations/get-an-automation-run"},{"title":"Get an automation run's log","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /automations/runs/{runId}/logs","href":"/api-reference/automations/get-an-automation-runs-log"}]},{"group":"Export Templates","pages":[{"title":"List export template types","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /export-templates/types","href":"/api-reference/export-templates/list-export-template-types"},{"title":"Get the export template authoring guide","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /export-templates/authoring-guide","href":"/api-reference/export-templates/get-the-export-template-authoring-guide"},{"title":"List placeholders for a template type","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /export-templates/placeholders","href":"/api-reference/export-templates/list-placeholders-for-a-template-type"},{"title":"Get the options-mode form schema","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /export-templates/options-schema","href":"/api-reference/export-templates/get-the-options-mode-form-schema"},{"title":"List export templates","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /export-templates","href":"/api-reference/export-templates/list-export-templates"},{"title":"Create an export template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /export-templates","href":"/api-reference/export-templates/create-an-export-template"},{"title":"Get an export template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /export-templates/{exportTemplateId}","href":"/api-reference/export-templates/get-an-export-template"},{"title":"Update an export template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /export-templates/{exportTemplateId}","href":"/api-reference/export-templates/update-an-export-template"},{"title":"Update an export template (PATCH)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /export-templates/{exportTemplateId}","href":"/api-reference/export-templates/update-an-export-template-patch"},{"title":"Delete an export template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /export-templates/{exportTemplateId}","href":"/api-reference/export-templates/delete-an-export-template"},{"title":"Set an export template as default","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /export-templates/{exportTemplateId}/set-default","href":"/api-reference/export-templates/set-an-export-template-as-default"},{"title":"Validate an export template draft","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /export-templates/validate","href":"/api-reference/export-templates/validate-an-export-template-draft"},{"title":"Preview an unsaved export template draft","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /export-templates/preview","href":"/api-reference/export-templates/preview-an-unsaved-export-template-draft"},{"title":"Preview a saved export template","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /export-templates/{exportTemplateId}/preview","href":"/api-reference/export-templates/preview-a-saved-export-template"}]},{"group":"Currency","pages":[{"title":"Get available currencies","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /currency/available","href":"/api-reference/currency/get-available-currencies"},{"title":"Get base currency","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /currency/base","href":"/api-reference/currency/get-base-currency"},{"title":"Set base currency","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /currency/base","href":"/api-reference/currency/set-base-currency"},{"title":"Convert currency","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /currency/rates/convert","href":"/api-reference/currency/convert-currency"},{"title":"List currency rates","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /currency/rates","href":"/api-reference/currency/list-currency-rates"},{"title":"Create a currency rate","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /currency/rates","href":"/api-reference/currency/create-a-currency-rate"}]},{"group":"Unit Classes","pages":[{"title":"List unit classes","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /unit-classes","href":"/api-reference/unit-classes/list-unit-classes"},{"title":"Create unit class","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /unit-classes","href":"/api-reference/unit-classes/create-unit-class"},{"title":"Single unit class","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /unit-classes/{id}","href":"/api-reference/unit-classes/single-unit-class"},{"title":"Update unit class","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /unit-classes/{id}","href":"/api-reference/unit-classes/update-unit-class"},{"title":"Delete unit class","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /unit-classes/{id}","href":"/api-reference/unit-classes/delete-unit-class"}]},{"group":"Units of Measure","pages":[{"title":"List units of measure","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /unit-of-measures","href":"/api-reference/units-of-measure/list-units-of-measure"},{"title":"Create unit of measure","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /unit-of-measures","href":"/api-reference/units-of-measure/create-unit-of-measure"},{"title":"Single unit of measure","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /unit-of-measures/{id}","href":"/api-reference/units-of-measure/single-unit-of-measure"},{"title":"Update unit of measure","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /unit-of-measures/{id}","href":"/api-reference/units-of-measure/update-unit-of-measure"},{"title":"Delete unit of measure","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /unit-of-measures/{id}","href":"/api-reference/units-of-measure/delete-unit-of-measure"},{"title":"Set base UOM for a unit class","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /unit-classes/{unitClassId}/default-unit-of-measure/{unitOfMeasureId}","href":"/api-reference/units-of-measure/set-base-uom-for-a-unit-class"}]},{"group":"Unit Conversion Rules","pages":[{"title":"List unit conversion rules","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /unit-conversion-rules","href":"/api-reference/unit-conversion-rules/list-unit-conversion-rules"},{"title":"Create unit conversion rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /unit-conversion-rules","href":"/api-reference/unit-conversion-rules/create-unit-conversion-rule"},{"title":"Resolve effective conversion rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /unit-conversion-rules/resolve","href":"/api-reference/unit-conversion-rules/resolve-effective-conversion-rule"},{"title":"Single unit conversion rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /unit-conversion-rules/{id}","href":"/api-reference/unit-conversion-rules/single-unit-conversion-rule"},{"title":"Update unit conversion rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /unit-conversion-rules/{id}","href":"/api-reference/unit-conversion-rules/update-unit-conversion-rule"},{"title":"Delete unit conversion rule","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /unit-conversion-rules/{id}","href":"/api-reference/unit-conversion-rules/delete-unit-conversion-rule"}]}]},{"group":"Integrations","pages":[{"group":"Channels","pages":[{"title":"List channels","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /channels","href":"/api-reference/channels/list-channels"},{"title":"Create channel","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /channels","href":"/api-reference/channels/create-channel"},{"title":"Create sales channel (legacy)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /channels/sales","href":"/api-reference/channels/create-sales-channel-legacy"},{"title":"List channel restriction fields","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /channels/restriction-fields","href":"/api-reference/channels/list-channel-restriction-fields"},{"title":"Get channel","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /channels/{channelId}","href":"/api-reference/channels/get-channel"},{"title":"Update channel","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /channels/{channelId}","href":"/api-reference/channels/update-channel"},{"title":"Delete channel","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /channels/{channelId}","href":"/api-reference/channels/delete-channel"},{"title":"Lock channel","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml patch /channels/{channelId}/lock","href":"/api-reference/channels/lock-channel"},{"title":"Sync channel integration products","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /channels/{channelId}/integration-products","href":"/api-reference/channels/sync-channel-integration-products"},{"title":"Test channel restrictions against a sample order","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /channels/{channelId}/test-restrictions","href":"/api-reference/channels/test-channel-restrictions-against-a-sample-order"}]},{"group":"Integration Accounts","pages":[{"title":"List integration accounts","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-accounts","href":"/api-reference/integration-accounts/list-integration-accounts"},{"title":"Get integration account","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-accounts/{id}","href":"/api-reference/integration-accounts/get-integration-account"},{"title":"List OMS shipping methods","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-accounts/{id}/shipping-methods","href":"/api-reference/integration-accounts/list-oms-shipping-methods"},{"title":"List OMS warehouses","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-accounts/{id}/warehouses","href":"/api-reference/integration-accounts/list-oms-warehouses"},{"title":"Get the write schema for a push action","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-accounts/{id}/write-schema","href":"/api-reference/integration-accounts/get-the-write-schema-for-a-push-action"},{"title":"List OMS product links","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-accounts/{id}/oms-products","href":"/api-reference/integration-accounts/list-oms-product-links"}]},{"group":"Integration Mappings","pages":[{"title":"List integration mappings","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-mappings","href":"/api-reference/integration-mappings/list-integration-mappings"},{"title":"Create an integration mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration-mappings","href":"/api-reference/integration-mappings/create-an-integration-mapping"},{"title":"List available transformations","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-mappings/transformations","href":"/api-reference/integration-mappings/list-available-transformations"},{"title":"Get an integration mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-mappings/{id}","href":"/api-reference/integration-mappings/get-an-integration-mapping"},{"title":"Update an integration mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration-mappings/{id}","href":"/api-reference/integration-mappings/update-an-integration-mapping"},{"title":"Delete an integration mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /integration-mappings/{id}","href":"/api-reference/integration-mappings/delete-an-integration-mapping"},{"title":"Preview a mapping (dry run)","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration-mappings/{id}/preview","href":"/api-reference/integration-mappings/preview-a-mapping-dry-run"},{"title":"List a mapping's version history","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-mappings/{id}/versions","href":"/api-reference/integration-mappings/list-a-mappings-version-history"},{"title":"Get a single mapping version","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration-mappings/{id}/versions/{versionId}","href":"/api-reference/integration-mappings/get-a-single-mapping-version"},{"title":"AI auto-map a mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration-mappings/{id}/ai/auto-map","href":"/api-reference/integration-mappings/ai-auto-map-a-mapping"},{"title":"AI edit a mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration-mappings/{id}/ai/edit","href":"/api-reference/integration-mappings/ai-edit-a-mapping"},{"title":"AI draft a custom-function script","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration-mappings/{id}/ai/script","href":"/api-reference/integration-mappings/ai-draft-a-custom-function-script"}]},{"group":"Integration Field Mappings","pages":[{"title":"List integration field mappings","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration/field-mappings","href":"/api-reference/integration-field-mappings/list-integration-field-mappings"},{"title":"Create an integration field mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration/field-mappings","href":"/api-reference/integration-field-mappings/create-an-integration-field-mapping"},{"title":"Bulk create integration field mappings","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration/field-mappings/bulk","href":"/api-reference/integration-field-mappings/bulk-create-integration-field-mappings"},{"title":"List mapping groups","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration/field-mappings/groups","href":"/api-reference/integration-field-mappings/list-mapping-groups"},{"title":"List mapping field names","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration/field-mappings/fields","href":"/api-reference/integration-field-mappings/list-mapping-field-names"},{"title":"Quick-add field mappings from recent orders","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration/field-mappings/quick-add","href":"/api-reference/integration-field-mappings/quick-add-field-mappings-from-recent-orders"},{"title":"Bulk delete integration field mappings","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration/field-mappings/bulk-delete","href":"/api-reference/integration-field-mappings/bulk-delete-integration-field-mappings"},{"title":"Suggest carrier mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration/field-mappings/suggest-carrier","href":"/api-reference/integration-field-mappings/suggest-carrier-mapping"},{"title":"Create mapping and retry fulfillment","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration/field-mappings/create-and-retry","href":"/api-reference/integration-field-mappings/create-mapping-and-retry-fulfillment"},{"title":"Toggle auto carrier mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml post /integration/field-mappings/auto-carrier-mapping","href":"/api-reference/integration-field-mappings/toggle-auto-carrier-mapping"},{"title":"Get an integration field mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml get /integration/field-mappings/{id}","href":"/api-reference/integration-field-mappings/get-an-integration-field-mapping"},{"title":"Update an integration field mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml put /integration/field-mappings/{id}","href":"/api-reference/integration-field-mappings/update-an-integration-field-mapping"},{"title":"Delete an integration field mapping","deprecated":null,"version":null,"openapi":"/api-reference/build.yaml delete /integration/field-mappings/{id}","href":"/api-reference/integration-field-mappings/delete-an-integration-field-mapping"}]}]}]}]},"basePath":"","title":"Create a new sales order - Luminous API Documentation","buildId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","deploymentId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B5zPa4Vr.js","utils-CVjrr8Yd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DTgURWzl.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DxTHtkdZ.js","snippetPresets-Cx47o5Vx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-4Fr6y9N_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dq2ElbEk.js","shallow-BfYl9r69.js","getApiPlaygroundDisplay-Ch3xc7i1.js","CodeSnippet-BsBxuJ1v.js","CodeSnippets-CetzeDL8.js","Page-CYZot51e.js","getPastedJson-BxPKFSJx.js","icon-o0J1Ochb.js","MethodPill-Du3usO5m.js","DuplicateIcon-DJypyMzl.js","createIcon-YMA6N8KJ.js","DynamicMarkdown-CWvhfcZc.js","SectionHeading-BdLVaXCd.js","axios-vUo_bRtp.js","Markdown-C4Ez6OeV.js","clsx-DptzKFCt.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Dt1IougW.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CZ6Wt2Vb.js"]}