{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WizCommerce","description":"WizCommerce API Documentation","colors":{"primary":"#FD691F","light":"#FD691F","dark":"#FD691F"},"logo":{"light":"https://mintcdn.com/wiz-3b1b07ce/83h4wzuLqryi0-3b/logo/logo1-light.svg?fit=max\u0026auto=format\u0026n=83h4wzuLqryi0-3b\u0026q=85\u0026s=896242c42d257168efd90e301f4e2075","dark":"https://mintcdn.com/wiz-3b1b07ce/83h4wzuLqryi0-3b/logo/logo1-dark.svg?fit=max\u0026auto=format\u0026n=83h4wzuLqryi0-3b\u0026q=85\u0026s=ec78b100be1c29314e25a789c0e526f9","href":"https://wizcommerce.com"},"favicon":"https://mintcdn.com/wiz-3b1b07ce/83h4wzuLqryi0-3b/logo/favico.png?fit=max\u0026auto=format\u0026n=83h4wzuLqryi0-3b\u0026q=85\u0026s=19f45e506a2d51d0eaca25a5262a3afc","api":{"playground":{"display":"interactive"}},"navbar":{"links":[{"href":"mailto:help@wizcommerce.com","label":"Support"}],"primary":{"type":"button","label":"Sign Up","href":"https://wizcommerce.com/book-a-demo/"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/wizcommerce","instagram":"https://www.instagram.com/wizcommerce_"}},"fonts":{"heading":{"family":"DM Sans"},"body":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wiz-3b1b07ce","hasAudioNarration":false,"actualSubdomain":"wiz-3b1b07ce","customDomains":["docs.wizcommerce.com"],"gitSource":{"type":"github","owner":"sourcewiz","repo":"wizbridge","deployBranch":"main","contentDirectory":"api-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6acf287af69ce708bc03c6b4","collectionId":"9abdefd2-be82-4eff-bc5a-6e6039def255","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acf287af69ce708bc03c6b4"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6acf287af69ce708bc03c6b4","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":112},{"language":"default","tag":"Core APIs","count":108},{"language":"default","tag":"Customer","count":15},{"language":"default","tag":"Customer (v2)","count":15},{"language":"default","tag":"Price List","count":10},{"language":"default","tag":"Shipments","count":10},{"language":"default","tag":"Guides","count":9},{"language":"default","tag":"Payment Method","count":8},{"language":"default","tag":"Orders (v2)","count":6},{"language":"default","tag":"Invoices","count":5}]},"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":"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":"byok-sep-25","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":"billing-updated-9-15","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}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/2026-09-11/orders/patch-order","slug":"/api-reference/2026-09-11/orders/patch-order","pageMetadata":{"openapi":"patch /v2/orders/{id}","title":"Patch order","description":"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it.\n- A field you send replaces its stored value whole, including objects and lists. \"\" clears it.\n- line_items cannot be empty.","href":"/api-reference/2026-09-11/orders/patch-order"},"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 li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it.\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"A field you send replaces its stored value whole, including objects and lists. \\\"\\\" clears it.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"line_items cannot be empty.\"\n }), \"\\n\"]\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsxs(Info,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`PATCH`}),` request is used to partially update an existing entity by the\ngiven id. This means:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Only the fields provided in the request body will be updated.`}),`\n`,_jsx(_components.li,{children:`Fields not provided in the request body will remain unchanged.`}),`\n`,_jsx(_components.li,{children:`The request is idempotent, meaning multiple identical PATCH requests will\nalways result in the same final state.`}),`\n`]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Order PATCH`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Same fields as `,_jsx(_components.code,{children:`PUT /v2/orders/{id}`}),`, plus `,_jsx(_components.code,{children:`status`}),`. Omit a field to keep it.`]}),`\n`,_jsxs(_components.li,{children:[`A field you send replaces its stored value whole, including objects and lists. `,_jsx(_components.code,{children:`\"\"`}),` clears it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`line_items`}),` cannot be `,_jsx(_components.code,{children:`[]`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"patch /v2/orders/{id}","title":"Patch order","description":"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it.\n- A field you send replaces its stored value whole, including objects and lists. \"\" clears it.\n- line_items cannot be empty.","href":"/api-reference/2026-09-11/orders/patch-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"security":["563c30e7-9165-4d0d-b905-8650c11c9840"],"description":"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it.\n- A field you send replaces its stored value whole, including objects and lists. \"\" clears it.\n- line_items cannot be empty.","tags":["Orders"],"summary":"Patch order","parameters":["673a6f21-fd8f-4804-8c1d-3505722fc776"],"requestBody":"b0aa5ea6-cc99-4c94-bb9b-faab243ff521","responses":{"200":"9b4c44a0-639c-488d-9ac7-be258d758651","400":"3c648a92-e114-472b-a655-fe4f624b0bab","401":"dc5f3042-1f4a-4e06-ac9a-1122462b62cd","403":"00359e4b-c723-4ac3-a32b-78374022a034","404":"e4a8d6a2-6396-428c-a550-c6da0720bd3a","500":"eadf47f6-57d2-4c4b-b673-124963ca2212"},"method":"patch","type":"path","servers":["3dfc58e3-56be-4a28-af9d-c04d1f7c3dc6","887541fe-0caa-492c-ade4-30db936ca155"],"path":"/v2/orders/{id}","baseUrlOptions":["https://api.wizcommerce.com","https://api-staging.sourcerer.tech"],"title":"Patch order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"673a6f21-fd8f-4804-8c1d-3505722fc776":{"x-order":"1","name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"reference_id":{"type":"string","maxLength":255,"x-order":"1","example":"1234567890","uniqueKey":"reference_id","typeLabel":"string"},"display_id":{"description":"Display ID. Omit to keep; \"\" to clear.","type":"string","maxLength":255,"x-order":"2","example":"1234567890","uniqueKey":"display_id","typeLabel":"string"},"customer_id":{"type":"string","x-order":"3","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"customer_id","typeLabel":"string"},"payment_term":{"type":"string","maxLength":255,"x-order":"5","example":"Payment Term","uniqueKey":"payment_term","typeLabel":"string"},"shipping_method":{"type":"string","maxLength":255,"x-order":"6","example":"Shipping Method","uniqueKey":"shipping_method","typeLabel":"string"},"freight_term":{"type":"string","maxLength":255,"x-order":"7","example":"Freight Term","uniqueKey":"freight_term","typeLabel":"string"},"amount":{"description":"Total before discounts, taxes, and shipping.","type":"number","x-order":"10","example":100,"uniqueKey":"amount","typeLabel":"number"},"amount_paid":{"type":"number","x-order":"11","example":100,"uniqueKey":"amount_paid","typeLabel":"number"},"discount_value":{"description":"Discount amount, not a percentage. e.g. 10.00 off 100.00.","type":"number","x-order":"12","example":10,"uniqueKey":"discount_value","typeLabel":"number"},"tax_value":{"description":"Tax amount, not a percentage. e.g. 10.00 on 100.00.","type":"number","x-order":"13","example":10,"uniqueKey":"tax_value","typeLabel":"number"},"shipping_charge":{"description":"Shipping amount.","type":"number","x-order":"14","example":10,"uniqueKey":"shipping_charge","typeLabel":"number"},"shipment_date":{"description":"RFC3339, after created_at. \"\" clears.","type":"string","x-order":"15","example":"2025-01-01T00:00:00Z","uniqueKey":"shipment_date","typeLabel":"string"},"due_date":{"description":"RFC3339, after created_at. \"\" clears.","type":"string","x-order":"16","example":"2025-01-01T00:00:00Z","uniqueKey":"due_date","typeLabel":"string"},"payment_status":{"type":"string","enum":["PAID","PENDING","PARTIALLY_PAID","REFUNDED","OVERPAID","VOIDED"],"x-order":"17","example":"PAID","uniqueKey":"payment_status","typeLabel":"enum\u003cstring>"},"payment_method":{"type":"string","maxLength":255,"x-order":"18","example":"On Account","uniqueKey":"payment_method","typeLabel":"string"},"payment_method_id":{"type":"string","maxLength":255,"x-order":"18","example":"1234567890","uniqueKey":"payment_method_id","typeLabel":"string"},"fulfillment_status":{"type":"string","enum":["PARTIALLY_DELIVERED","UNFULFILLED","PARTIALLY_FULFILLED","FULFILLED","IN_PROGRESS","DELIVERED"],"x-order":"19","example":"PARTIALLY_DELIVERED","uniqueKey":"fulfillment_status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","x-order":"20","example":"2025-01-01T00:00:00Z","uniqueKey":"created_at","typeLabel":"string"},"customer_note":{"type":"string","x-order":"20","example":"Customer Notes","uniqueKey":"customer_note","typeLabel":"string"},"internal_note":{"type":"string","maxLength":255,"x-order":"21","example":"Internal Notes","uniqueKey":"internal_note","typeLabel":"string"},"updated_at":{"description":"Must be after created_at. Omit to use server time.","type":"string","x-order":"21","example":"2025-01-01T00:00:00Z","uniqueKey":"updated_at","typeLabel":"string"},"status":{"description":"Orders: draft, confirmed, cancelled. Quotes: draft, submitted, cancelled. Omit to keep. Cannot be cleared.","type":"string","enum":["draft","confirmed","cancelled","submitted"],"x-order":"22","example":"draft","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"source":{"description":"Same as PUT: omit or \"\" sets openapi.","type":"string","x-order":"23","example":"high-point","uniqueKey":"source","typeLabel":"string"},"po_number":{"type":"string","maxLength":255,"x-order":"24","uniqueKey":"po_number","typeLabel":"string"},"container_info":{"type":"object","required":["key","unit","volume"],"x-order":"26","properties":{"key":{"type":"string","maxLength":255,"x-order":"2","example":"40ft_hig","isRequired":true,"uniqueKey":"container_info.key","typeLabel":"string"},"unit":{"type":"string","enum":["CFT","CBM"],"x-order":"3","example":"CFT","isRequired":true,"uniqueKey":"container_info.unit","typeLabel":"enum\u003cstring>"},"volume":{"type":"number","x-order":"4","example":100,"isRequired":true,"uniqueKey":"container_info.volume","typeLabel":"number"},"name":{"type":"string","maxLength":255,"x-order":"1","example":"Container Name","uniqueKey":"container_info.name","typeLabel":"string"}},"uniqueKey":"container_info","typeLabel":"object"},"billing_address":{"type":"object","description":"Replaces the stored billing address. Send id to use an existing address.","x-order":"27","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"billing_address.id","typeLabel":"string"},"first_name":{"type":"string","maxLength":50,"x-order":"2","example":"John","uniqueKey":"billing_address.first_name","typeLabel":"string"},"last_name":{"type":"string","maxLength":50,"x-order":"3","example":"Doe","uniqueKey":"billing_address.last_name","typeLabel":"string"},"phone":{"description":"Phone number in E.164 format","type":"string","x-order":"4","example":"+14155552671","uniqueKey":"billing_address.phone","typeLabel":"string"},"email":{"type":"string","x-order":"5","example":"john.doe@example.com","uniqueKey":"billing_address.email","typeLabel":"string"},"address_line_1":{"type":"string","maxLength":255,"x-order":"6","example":"123 Main St","uniqueKey":"billing_address.address_line_1","typeLabel":"string"},"address_line_2":{"type":"string","maxLength":255,"x-order":"7","example":"Apt 101","uniqueKey":"billing_address.address_line_2","typeLabel":"string"},"city":{"type":"string","maxLength":50,"x-order":"8","example":"Anytown","uniqueKey":"billing_address.city","typeLabel":"string"},"state":{"type":"string","maxLength":50,"x-order":"9","example":"CA","uniqueKey":"billing_address.state","typeLabel":"string"},"country":{"description":"Country code in ISO 3166-1 alpha-2 or alpha-3 format, e.g. US or USA.","type":"string","x-order":"10","example":"US","uniqueKey":"billing_address.country","typeLabel":"string"},"zip_code":{"type":"string","maxLength":50,"x-order":"11","example":"12345","uniqueKey":"billing_address.zip_code","typeLabel":"string"},"reference_id":{"type":"string","maxLength":50,"x-order":"12","example":"REF_1234567890","uniqueKey":"billing_address.reference_id","typeLabel":"string"},"attributes":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255,"x-order":"1","example":"1234567890","isRequired":true,"uniqueKey":"billing_address.attributes.items.[INDEX].name","typeLabel":"string"},"value":{"description":"Omit = no-op; null or \"\" = unset; non-empty string = set.","type":"string","x-nullable":"true","x-order":"2","example":"red","uniqueKey":"billing_address.attributes.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"billing_address.attributes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"billing_address.attributes","typeLabel":"object[]"}},"uniqueKey":"billing_address","typeLabel":"object"},"shipping_address":{"type":"object","description":"Replaces the stored shipping address. Send id to use an existing address.","x-order":"28","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"shipping_address.id","typeLabel":"string"},"first_name":{"type":"string","maxLength":50,"x-order":"2","example":"John","uniqueKey":"shipping_address.first_name","typeLabel":"string"},"last_name":{"type":"string","maxLength":50,"x-order":"3","example":"Doe","uniqueKey":"shipping_address.last_name","typeLabel":"string"},"phone":{"description":"Phone number in E.164 format","type":"string","x-order":"4","example":"+14155552671","uniqueKey":"shipping_address.phone","typeLabel":"string"},"email":{"type":"string","x-order":"5","example":"john.doe@example.com","uniqueKey":"shipping_address.email","typeLabel":"string"},"address_line_1":{"type":"string","maxLength":255,"x-order":"6","example":"123 Main St","uniqueKey":"shipping_address.address_line_1","typeLabel":"string"},"address_line_2":{"type":"string","maxLength":255,"x-order":"7","example":"Apt 101","uniqueKey":"shipping_address.address_line_2","typeLabel":"string"},"city":{"type":"string","maxLength":50,"x-order":"8","example":"Anytown","uniqueKey":"shipping_address.city","typeLabel":"string"},"state":{"type":"string","maxLength":50,"x-order":"9","example":"CA","uniqueKey":"shipping_address.state","typeLabel":"string"},"country":{"description":"Country code in ISO 3166-1 alpha-2 or alpha-3 format, e.g. US or USA.","type":"string","x-order":"10","example":"US","uniqueKey":"shipping_address.country","typeLabel":"string"},"zip_code":{"type":"string","maxLength":50,"x-order":"11","example":"12345","uniqueKey":"shipping_address.zip_code","typeLabel":"string"},"reference_id":{"type":"string","maxLength":50,"x-order":"12","example":"REF_1234567890","uniqueKey":"shipping_address.reference_id","typeLabel":"string"},"attributes":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255,"x-order":"1","example":"1234567890","isRequired":true,"uniqueKey":"shipping_address.attributes.items.[INDEX].name","typeLabel":"string"},"value":{"description":"Omit = no-op; null or \"\" = unset; non-empty string = set.","type":"string","x-nullable":"true","x-order":"2","example":"red","uniqueKey":"shipping_address.attributes.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"shipping_address.attributes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"shipping_address.attributes","typeLabel":"object[]"}},"uniqueKey":"shipping_address","typeLabel":"object"},"primary_contact":{"type":"object","description":"Replaces the stored primary contact. Send id to use an existing contact.","x-order":"29","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"primary_contact.id","typeLabel":"string"},"first_name":{"type":"string","maxLength":50,"x-order":"2","example":"John","uniqueKey":"primary_contact.first_name","typeLabel":"string"},"last_name":{"type":"string","maxLength":50,"x-order":"3","example":"Doe","uniqueKey":"primary_contact.last_name","typeLabel":"string"},"email":{"type":"string","x-order":"4","example":"john.doe@example.com","uniqueKey":"primary_contact.email","typeLabel":"string"},"phone":{"description":"Phone number in E.164 format","type":"string","x-order":"5","example":"+14155552671","uniqueKey":"primary_contact.phone","typeLabel":"string"},"designation":{"type":"string","maxLength":50,"x-order":"6","example":"Sales Manager","uniqueKey":"primary_contact.designation","typeLabel":"string"},"reference_id":{"type":"string","maxLength":255,"x-order":"7","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"primary_contact.reference_id","typeLabel":"string"},"attributes":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255,"x-order":"1","example":"1234567890","isRequired":true,"uniqueKey":"primary_contact.attributes.items.[INDEX].name","typeLabel":"string"},"value":{"description":"Omit = no-op; null or \"\" = unset; non-empty string = set.","type":"string","x-nullable":"true","x-order":"2","example":"red","uniqueKey":"primary_contact.attributes.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"primary_contact.attributes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"primary_contact.attributes","typeLabel":"object[]"}},"uniqueKey":"primary_contact","typeLabel":"object"},"line_items":{"description":"Complete replacement list. Omit to keep. Cannot be [].","type":"array","items":{"type":"object","required":["sku"],"properties":{"sku":{"description":"SKU of the product. A SKU that is not in the catalog is accepted as an adhoc line item, priced from unit_price and returned with is_adhoc true.","type":"string","maxLength":255,"x-order":"1","example":"RUG14754","isRequired":true,"uniqueKey":"line_items.items.[INDEX].sku","typeLabel":"string"},"quantity":{"type":"integer","x-order":"2","example":10,"uniqueKey":"line_items.items.[INDEX].quantity","typeLabel":"integer"},"shipped_quantity":{"type":"integer","x-order":"3","example":0,"uniqueKey":"line_items.items.[INDEX].shipped_quantity","typeLabel":"integer"},"invoiced_quantity":{"type":"integer","x-order":"4","example":0,"uniqueKey":"line_items.items.[INDEX].invoiced_quantity","typeLabel":"integer"},"cancelled_quantity":{"type":"integer","x-order":"5","example":0,"uniqueKey":"line_items.items.[INDEX].cancelled_quantity","typeLabel":"integer"},"picked_quantity":{"type":"integer","x-order":"6","example":0,"uniqueKey":"line_items.items.[INDEX].picked_quantity","typeLabel":"integer"},"unit_price":{"description":"Unit price of the product, this is the price of the product before any discounts are applied.","type":"number","x-order":"7","example":100,"uniqueKey":"line_items.items.[INDEX].unit_price","typeLabel":"number"},"discount":{"description":"Discount on the product, this is the discount amount that is applied to the product at unit price level.","type":"number","x-order":"8","example":0,"uniqueKey":"line_items.items.[INDEX].discount","typeLabel":"number"},"discount_type":{"description":"Discount type can be percentage or value.","type":"string","enum":["percentage","value"],"x-order":"9","example":"percentage","uniqueKey":"line_items.items.[INDEX].discount_type","typeLabel":"enum\u003cstring>"},"is_adhoc":{"type":"boolean","x-order":"10","example":false,"uniqueKey":"line_items.items.[INDEX].is_adhoc","typeLabel":"boolean"},"note":{"type":"string","maxLength":255,"x-order":"11","example":"Extra packing material","uniqueKey":"line_items.items.[INDEX].note","typeLabel":"string"}},"uniqueKey":"line_items.items.[INDEX]","typeLabel":"object"},"x-order":"30","uniqueKey":"line_items","typeLabel":"object[]"},"attributes":{"description":"Set by name, same as PUT; unlisted attributes are kept. Omit to keep all.","type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255,"x-order":"1","example":"1234567890","isRequired":true,"uniqueKey":"attributes.items.[INDEX].name","typeLabel":"string"},"value":{"description":"Omit = no-op; null or \"\" = unset; non-empty string = set.","type":"string","x-nullable":"true","x-order":"2","example":"red","uniqueKey":"attributes.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"attributes.items.[INDEX]","typeLabel":"object"},"x-order":"31","uniqueKey":"attributes","typeLabel":"object[]"},"additional_charges":{"description":"Extra charges besides tax, discount, and shipping. Complete replacement list; omit to keep. [] clears extras.","type":"array","items":{"type":"object","required":["name","type"],"properties":{"name":{"type":"string","maxLength":255,"x-order":"1","isRequired":true,"uniqueKey":"additional_charges.items.[INDEX].name","typeLabel":"string"},"type":{"description":"If charge is tax then charge amount will be added to the amount. If charge is discount then it will be subtracted from the amount.","type":"string","enum":["tax","discount"],"x-order":"2","isRequired":true,"uniqueKey":"additional_charges.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value_type":{"description":"Omitted defaults to \"value\" (fixed currency amount).","type":"string","enum":["value","percentage"],"x-order":"3","uniqueKey":"additional_charges.items.[INDEX].value_type","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","x-order":"4","uniqueKey":"additional_charges.items.[INDEX].amount","typeLabel":"number"}},"uniqueKey":"additional_charges.items.[INDEX]","typeLabel":"object"},"x-order":"32","uniqueKey":"additional_charges","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"reference_id":"1234567890","display_id":"1234567890","customer_id":"12345678-90ab-cdef-1234-567890abcdef","payment_term":"Payment Term","shipping_method":"Shipping Method","freight_term":"Freight Term","amount":100,"amount_paid":100,"discount_value":10,"tax_value":10,"shipping_charge":10,"shipment_date":"2025-01-01T00:00:00Z","due_date":"2025-01-01T00:00:00Z","payment_status":"PAID","payment_method":"On Account","payment_method_id":"1234567890","fulfillment_status":"PARTIALLY_DELIVERED","created_at":"2025-01-01T00:00:00Z","customer_note":"Customer Notes","internal_note":"Internal Notes","updated_at":"2025-01-01T00:00:00Z","status":"draft","source":"high-point","po_number":"\u003cstring>","billing_address":{"id":"12345678-90ab-cdef-1234-567890abcdef","first_name":"John","last_name":"Doe","phone":"+14155552671","email":"john.doe@example.com","address_line_1":"123 Main St","address_line_2":"Apt 101","city":"Anytown","state":"CA","country":"US","zip_code":"12345","reference_id":"REF_1234567890","attributes":[{"name":"1234567890","value":"red"}]},"shipping_address":{"id":"12345678-90ab-cdef-1234-567890abcdef","first_name":"John","last_name":"Doe","phone":"+14155552671","email":"john.doe@example.com","address_line_1":"123 Main St","address_line_2":"Apt 101","city":"Anytown","state":"CA","country":"US","zip_code":"12345","reference_id":"REF_1234567890","attributes":[{"name":"1234567890","value":"red"}]},"primary_contact":{"id":"12345678-90ab-cdef-1234-567890abcdef","first_name":"John","last_name":"Doe","email":"john.doe@example.com","phone":"+14155552671","designation":"Sales Manager","reference_id":"12345678-90ab-cdef-1234-567890abcdef","attributes":[{"name":"1234567890","value":"red"}]},"line_items":[{"sku":"RUG14754","quantity":10,"shipped_quantity":0,"invoiced_quantity":0,"cancelled_quantity":0,"picked_quantity":0,"unit_price":100,"discount":0,"discount_type":"percentage","is_adhoc":false,"note":"Extra packing material"}],"attributes":[{"name":"1234567890","value":"red"}],"additional_charges":[{"name":"\u003cstring>","amount":123}]}}},"exampleType":"generated"}},"description":"request","required":true,"exampleType":"generated"},"responses":{"9b4c44a0-639c-488d-9ac7-be258d758651":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","x-order":"1","properties":{"id":{"description":"UUID","type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.id","typeLabel":"string"},"reference_id":{"type":"string","x-order":"2","example":"1234567890","uniqueKey":"data.reference_id","typeLabel":"string"},"display_id":{"type":"string","x-order":"3","example":"WC_1234567890","uniqueKey":"data.display_id","typeLabel":"string"},"customer_id":{"type":"string","x-order":"4","example":"1234567890","uniqueKey":"data.customer_id","typeLabel":"string"},"customer_reference_id":{"type":"string","x-order":"5","example":"CUST_1234567890","uniqueKey":"data.customer_reference_id","typeLabel":"string"},"customer_name":{"type":"string","x-order":"6","example":"John Doe","uniqueKey":"data.customer_name","typeLabel":"string"},"type":{"type":"string","enum":["order","quote"],"x-order":"7","example":"order","uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","x-order":"8","example":"active","uniqueKey":"data.status","typeLabel":"string"},"amount":{"type":"number","x-order":"9","example":100,"uniqueKey":"data.amount","typeLabel":"number"},"amount_paid":{"type":"number","x-order":"10","example":100,"uniqueKey":"data.amount_paid","typeLabel":"number"},"shipment_date":{"type":"string","x-order":"11","example":"2021-01-01T00:00:00Z","uniqueKey":"data.shipment_date","typeLabel":"string"},"due_date":{"type":"string","x-order":"12","example":"2021-01-01T00:00:00Z","uniqueKey":"data.due_date","typeLabel":"string"},"payment_status":{"type":"string","x-order":"13","example":"PAID","uniqueKey":"data.payment_status","typeLabel":"string"},"fulfillment_status":{"type":"string","x-order":"14","example":"PARTIALLY_DELIVERED UNFULFILLED PARTIALLY_FULFILLED FULFILLED IN_PROGRESS DELIVERED","uniqueKey":"data.fulfillment_status","typeLabel":"string"},"payment_method_id":{"type":"string","x-order":"15","example":"1234567890","uniqueKey":"data.payment_method_id","typeLabel":"string"},"payment_method":{"type":"string","x-order":"16","example":"payment_method","uniqueKey":"data.payment_method","typeLabel":"string"},"payment_term":{"type":"string","x-order":"17","example":"payment_term","uniqueKey":"data.payment_term","typeLabel":"string"},"shipping_method":{"type":"string","x-order":"18","example":"shipping_method","uniqueKey":"data.shipping_method","typeLabel":"string"},"freight_term":{"type":"string","x-order":"19","example":"freight_term","uniqueKey":"data.freight_term","typeLabel":"string"},"internal_note":{"type":"string","x-order":"20","example":"internal_note","uniqueKey":"data.internal_note","typeLabel":"string"},"customer_note":{"type":"string","x-order":"21","example":"customer_note","uniqueKey":"data.customer_note","typeLabel":"string"},"source":{"description":"Source of the order, such as openapi, or sales_rep.","type":"string","x-order":"22","example":"cart","uniqueKey":"data.source","typeLabel":"string"},"entity_source":{"description":"Channel the order was created in, e.g. wizorder, wizshop, or openapi. Set at creation and not changed by later updates.","type":"string","x-order":"22.5","example":"wizorder","uniqueKey":"data.entity_source","typeLabel":"string"},"price_list_id":{"type":"string","x-order":"23","example":"1234567890","uniqueKey":"data.price_list_id","typeLabel":"string"},"price_list":{"type":"object","x-order":"24","properties":{"id":{"type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.price_list.id","typeLabel":"string"},"name":{"type":"string","x-order":"2","example":"Default Price List","uniqueKey":"data.price_list.name","typeLabel":"string"},"reference_id":{"type":"string","x-order":"3","example":"PL_1234567890","uniqueKey":"data.price_list.reference_id","typeLabel":"string"}},"uniqueKey":"data.price_list","typeLabel":"object"},"line_items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.line_items.items.[INDEX].id","typeLabel":"string"},"product_id":{"type":"string","x-order":"2","example":"1234567890","uniqueKey":"data.line_items.items.[INDEX].product_id","typeLabel":"string"},"reference_id":{"type":"string","x-order":"3","example":"1234567890","uniqueKey":"data.line_items.items.[INDEX].reference_id","typeLabel":"string"},"sku":{"type":"string","x-order":"4","example":"1234567890","uniqueKey":"data.line_items.items.[INDEX].sku","typeLabel":"string"},"parent_sku_id":{"description":"SKU of the source product this variant was created from; omitted for non-variant items.","type":"string","x-order":"5","uniqueKey":"data.line_items.items.[INDEX].parent_sku_id","typeLabel":"string"},"quantity":{"type":"integer","x-order":"6","example":10,"uniqueKey":"data.line_items.items.[INDEX].quantity","typeLabel":"integer"},"unit_price":{"description":"UnitPrice is the per-unit price before any discounts or promotions are applied.","type":"number","x-order":"7","example":100,"uniqueKey":"data.line_items.items.[INDEX].unit_price","typeLabel":"number"},"final_unit_price":{"description":"FinalUnitPrice is the per-unit price after discounts and promotions are applied.","type":"number","x-order":"8","example":95,"uniqueKey":"data.line_items.items.[INDEX].final_unit_price","typeLabel":"number"},"shipped_quantity":{"type":"integer","x-order":"9","example":0,"uniqueKey":"data.line_items.items.[INDEX].shipped_quantity","typeLabel":"integer"},"invoiced_quantity":{"type":"integer","x-order":"10","example":0,"uniqueKey":"data.line_items.items.[INDEX].invoiced_quantity","typeLabel":"integer"},"cancelled_quantity":{"type":"integer","x-order":"11","example":0,"uniqueKey":"data.line_items.items.[INDEX].cancelled_quantity","typeLabel":"integer"},"picked_quantity":{"type":"integer","x-order":"12","example":0,"uniqueKey":"data.line_items.items.[INDEX].picked_quantity","typeLabel":"integer"},"discount":{"type":"number","x-order":"13","example":0,"uniqueKey":"data.line_items.items.[INDEX].discount","typeLabel":"number"},"discount_type":{"type":"string","enum":["percentage","value"],"x-order":"14","example":"percentage","uniqueKey":"data.line_items.items.[INDEX].discount_type","typeLabel":"enum\u003cstring>"},"note":{"type":"string","maxLength":255,"x-order":"15","example":"Extra packing material","uniqueKey":"data.line_items.items.[INDEX].note","typeLabel":"string"},"is_adhoc":{"type":"boolean","x-order":"16","example":false,"uniqueKey":"data.line_items.items.[INDEX].is_adhoc","typeLabel":"boolean"},"applied_promotion":{"type":"object","x-order":"17","properties":{"id":{"type":"string","x-order":"1","uniqueKey":"data.line_items.items.[INDEX].applied_promotion.id","typeLabel":"string"},"name":{"type":"string","x-order":"2","uniqueKey":"data.line_items.items.[INDEX].applied_promotion.name","typeLabel":"string"},"reference_id":{"type":"string","x-order":"3","uniqueKey":"data.line_items.items.[INDEX].applied_promotion.reference_id","typeLabel":"string"},"promo_code":{"type":"string","x-order":"4","uniqueKey":"data.line_items.items.[INDEX].applied_promotion.promo_code","typeLabel":"string"}},"uniqueKey":"data.line_items.items.[INDEX].applied_promotion","typeLabel":"object"},"applied_modifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"35ca9dd0-7c73-40b1-b964-051350edb956","uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","example":"Rug Pad","uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].name","typeLabel":"string"},"unique_id":{"type":"string","example":"RP","uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].unique_id","typeLabel":"string"},"values":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"56fd881a-7ea3-44a9-a790-99cfe9c66cc3","uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].values.items.[INDEX].id","typeLabel":"string"},"price":{"type":"number","example":0,"uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].values.items.[INDEX].price","typeLabel":"number"},"quantity":{"type":"integer","example":1,"uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].values.items.[INDEX].quantity","typeLabel":"integer"},"suffix":{"type":"string","example":"RP03","uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].values.items.[INDEX].suffix","typeLabel":"string"},"value":{"type":"string","example":"RP03 6X9","uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].values.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"data.line_items.items.[INDEX].applied_modifiers.items.[INDEX]","typeLabel":"object"},"x-order":"18","uniqueKey":"data.line_items.items.[INDEX].applied_modifiers","typeLabel":"object[]"}},"uniqueKey":"data.line_items.items.[INDEX]","typeLabel":"object"},"x-order":"25","uniqueKey":"data.line_items","typeLabel":"object[]"},"billing_address":{"type":"object","x-order":"26","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"data.billing_address.id","typeLabel":"string"},"first_name":{"type":"string","x-order":"2","example":"John","uniqueKey":"data.billing_address.first_name","typeLabel":"string"},"last_name":{"type":"string","x-order":"3","example":"Doe","uniqueKey":"data.billing_address.last_name","typeLabel":"string"},"phone":{"type":"string","x-order":"4","example":"+14155552671","uniqueKey":"data.billing_address.phone","typeLabel":"string"},"email":{"type":"string","x-order":"5","example":"john.doe@example.com","uniqueKey":"data.billing_address.email","typeLabel":"string"},"address_line_1":{"type":"string","x-order":"6","example":"123 Main St","uniqueKey":"data.billing_address.address_line_1","typeLabel":"string"},"address_line_2":{"type":"string","x-order":"7","example":"Apt 101","uniqueKey":"data.billing_address.address_line_2","typeLabel":"string"},"city":{"type":"string","x-order":"8","example":"Anytown","uniqueKey":"data.billing_address.city","typeLabel":"string"},"state":{"type":"string","x-order":"9","example":"CA","uniqueKey":"data.billing_address.state","typeLabel":"string"},"state_info":{"type":"object","x-order":"10","properties":{"code":{"description":"ISO 3166-2 code (country + state), e.g. US-CA","type":"string","x-order":"1","example":"US-CA","uniqueKey":"data.billing_address.state_info.code","typeLabel":"string"},"short_code":{"description":"State/region code within the country, e.g. CA","type":"string","x-order":"2","example":"CA","uniqueKey":"data.billing_address.state_info.short_code","typeLabel":"string"},"name":{"description":"Display name of the state/region, e.g. California","type":"string","x-order":"3","example":"California","uniqueKey":"data.billing_address.state_info.name","typeLabel":"string"}},"uniqueKey":"data.billing_address.state_info","typeLabel":"object"},"country":{"type":"string","x-order":"11","example":"US","uniqueKey":"data.billing_address.country","typeLabel":"string"},"country_info":{"type":"object","x-order":"12","properties":{"code":{"description":"ISO 3166-1 alpha-3 (3-letter) country code, e.g. USA","type":"string","x-order":"1","example":"USA","uniqueKey":"data.billing_address.country_info.code","typeLabel":"string"},"short_code":{"description":"ISO 3166-1 alpha-2 (2-letter) country code, e.g. US","type":"string","x-order":"2","example":"US","uniqueKey":"data.billing_address.country_info.short_code","typeLabel":"string"},"name":{"description":"Display name of the country, e.g. United States","type":"string","x-order":"3","example":"United States","uniqueKey":"data.billing_address.country_info.name","typeLabel":"string"}},"uniqueKey":"data.billing_address.country_info","typeLabel":"object"},"zip_code":{"type":"string","x-order":"13","example":"12345","uniqueKey":"data.billing_address.zip_code","typeLabel":"string"},"reference_id":{"type":"string","x-order":"14","example":"1234567890","uniqueKey":"data.billing_address.reference_id","typeLabel":"string"},"attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"data.billing_address.attributes.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","x-order":"2","example":"Apartment Number","uniqueKey":"data.billing_address.attributes.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","x-order":"3","example":"Apt 101","uniqueKey":"data.billing_address.attributes.items.[INDEX].value","typeLabel":"string"},"created_at":{"type":"string","x-order":"4","example":"2021-01-01T00:00:00Z","uniqueKey":"data.billing_address.attributes.items.[INDEX].created_at","typeLabel":"string"},"updated_at":{"type":"string","x-order":"5","example":"2021-01-01T00:00:00Z","uniqueKey":"data.billing_address.attributes.items.[INDEX].updated_at","typeLabel":"string"}},"uniqueKey":"data.billing_address.attributes.items.[INDEX]","typeLabel":"object"},"x-order":"15","uniqueKey":"data.billing_address.attributes","typeLabel":"object[]"}},"uniqueKey":"data.billing_address","typeLabel":"object"},"shipping_address":{"type":"object","x-order":"27","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"data.shipping_address.id","typeLabel":"string"},"first_name":{"type":"string","x-order":"2","example":"John","uniqueKey":"data.shipping_address.first_name","typeLabel":"string"},"last_name":{"type":"string","x-order":"3","example":"Doe","uniqueKey":"data.shipping_address.last_name","typeLabel":"string"},"phone":{"type":"string","x-order":"4","example":"+14155552671","uniqueKey":"data.shipping_address.phone","typeLabel":"string"},"email":{"type":"string","x-order":"5","example":"john.doe@example.com","uniqueKey":"data.shipping_address.email","typeLabel":"string"},"address_line_1":{"type":"string","x-order":"6","example":"123 Main St","uniqueKey":"data.shipping_address.address_line_1","typeLabel":"string"},"address_line_2":{"type":"string","x-order":"7","example":"Apt 101","uniqueKey":"data.shipping_address.address_line_2","typeLabel":"string"},"city":{"type":"string","x-order":"8","example":"Anytown","uniqueKey":"data.shipping_address.city","typeLabel":"string"},"state":{"type":"string","x-order":"9","example":"CA","uniqueKey":"data.shipping_address.state","typeLabel":"string"},"state_info":{"type":"object","x-order":"10","properties":{"code":{"description":"ISO 3166-2 code (country + state), e.g. US-CA","type":"string","x-order":"1","example":"US-CA","uniqueKey":"data.shipping_address.state_info.code","typeLabel":"string"},"short_code":{"description":"State/region code within the country, e.g. CA","type":"string","x-order":"2","example":"CA","uniqueKey":"data.shipping_address.state_info.short_code","typeLabel":"string"},"name":{"description":"Display name of the state/region, e.g. California","type":"string","x-order":"3","example":"California","uniqueKey":"data.shipping_address.state_info.name","typeLabel":"string"}},"uniqueKey":"data.shipping_address.state_info","typeLabel":"object"},"country":{"type":"string","x-order":"11","example":"US","uniqueKey":"data.shipping_address.country","typeLabel":"string"},"country_info":{"type":"object","x-order":"12","properties":{"code":{"description":"ISO 3166-1 alpha-3 (3-letter) country code, e.g. USA","type":"string","x-order":"1","example":"USA","uniqueKey":"data.shipping_address.country_info.code","typeLabel":"string"},"short_code":{"description":"ISO 3166-1 alpha-2 (2-letter) country code, e.g. US","type":"string","x-order":"2","example":"US","uniqueKey":"data.shipping_address.country_info.short_code","typeLabel":"string"},"name":{"description":"Display name of the country, e.g. United States","type":"string","x-order":"3","example":"United States","uniqueKey":"data.shipping_address.country_info.name","typeLabel":"string"}},"uniqueKey":"data.shipping_address.country_info","typeLabel":"object"},"zip_code":{"type":"string","x-order":"13","example":"12345","uniqueKey":"data.shipping_address.zip_code","typeLabel":"string"},"reference_id":{"type":"string","x-order":"14","example":"1234567890","uniqueKey":"data.shipping_address.reference_id","typeLabel":"string"},"attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"data.shipping_address.attributes.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","x-order":"2","example":"Apartment Number","uniqueKey":"data.shipping_address.attributes.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","x-order":"3","example":"Apt 101","uniqueKey":"data.shipping_address.attributes.items.[INDEX].value","typeLabel":"string"},"created_at":{"type":"string","x-order":"4","example":"2021-01-01T00:00:00Z","uniqueKey":"data.shipping_address.attributes.items.[INDEX].created_at","typeLabel":"string"},"updated_at":{"type":"string","x-order":"5","example":"2021-01-01T00:00:00Z","uniqueKey":"data.shipping_address.attributes.items.[INDEX].updated_at","typeLabel":"string"}},"uniqueKey":"data.shipping_address.attributes.items.[INDEX]","typeLabel":"object"},"x-order":"15","uniqueKey":"data.shipping_address.attributes","typeLabel":"object[]"}},"uniqueKey":"data.shipping_address","typeLabel":"object"},"primary_contact":{"type":"object","x-order":"28","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"data.primary_contact.id","typeLabel":"string"},"first_name":{"type":"string","x-order":"2","example":"John","uniqueKey":"data.primary_contact.first_name","typeLabel":"string"},"last_name":{"type":"string","x-order":"3","example":"Doe","uniqueKey":"data.primary_contact.last_name","typeLabel":"string"},"email":{"type":"string","x-order":"4","example":"john.doe@example.com","uniqueKey":"data.primary_contact.email","typeLabel":"string"},"phone":{"type":"string","x-order":"5","example":"+14155552671","uniqueKey":"data.primary_contact.phone","typeLabel":"string"},"designation":{"type":"string","x-order":"6","example":"Sales Manager","uniqueKey":"data.primary_contact.designation","typeLabel":"string"},"attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","x-order":"1","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"data.primary_contact.attributes.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","x-order":"2","example":"Department","uniqueKey":"data.primary_contact.attributes.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","x-order":"3","example":"Sales","uniqueKey":"data.primary_contact.attributes.items.[INDEX].value","typeLabel":"string"},"created_at":{"type":"string","x-order":"4","example":"2021-01-01T00:00:00Z","uniqueKey":"data.primary_contact.attributes.items.[INDEX].created_at","typeLabel":"string"},"updated_at":{"type":"string","x-order":"5","example":"2021-01-01T00:00:00Z","uniqueKey":"data.primary_contact.attributes.items.[INDEX].updated_at","typeLabel":"string"}},"uniqueKey":"data.primary_contact.attributes.items.[INDEX]","typeLabel":"object"},"x-order":"7","uniqueKey":"data.primary_contact.attributes","typeLabel":"object[]"},"reference_id":{"type":"string","x-order":"7","example":"12345678-90ab-cdef-1234-567890abcdef","uniqueKey":"data.primary_contact.reference_id","typeLabel":"string"}},"uniqueKey":"data.primary_contact","typeLabel":"object"},"charges":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","x-order":"1","example":"shipping","uniqueKey":"data.charges.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","x-order":"2","example":"shipping","uniqueKey":"data.charges.items.[INDEX].type","typeLabel":"string"},"value_type":{"type":"string","enum":["percentage","value"],"x-order":"3","example":"percentage","uniqueKey":"data.charges.items.[INDEX].value_type","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","x-order":"4","example":100,"uniqueKey":"data.charges.items.[INDEX].amount","typeLabel":"number"},"applied_promotion":{"type":"object","x-order":"5","properties":{"id":{"type":"string","x-order":"1","uniqueKey":"data.charges.items.[INDEX].applied_promotion.id","typeLabel":"string"},"name":{"type":"string","x-order":"2","uniqueKey":"data.charges.items.[INDEX].applied_promotion.name","typeLabel":"string"},"reference_id":{"type":"string","x-order":"3","uniqueKey":"data.charges.items.[INDEX].applied_promotion.reference_id","typeLabel":"string"},"promo_code":{"type":"string","x-order":"4","uniqueKey":"data.charges.items.[INDEX].applied_promotion.promo_code","typeLabel":"string"}},"uniqueKey":"data.charges.items.[INDEX].applied_promotion","typeLabel":"object"}},"uniqueKey":"data.charges.items.[INDEX]","typeLabel":"object"},"x-order":"29","uniqueKey":"data.charges","typeLabel":"object[]"},"container_info":{"type":"object","required":["key","unit","volume"],"x-order":"30","properties":{"key":{"type":"string","maxLength":255,"x-order":"2","example":"40ft_hig","isRequired":true,"uniqueKey":"data.container_info.key","typeLabel":"string"},"unit":{"type":"string","enum":["CFT","CBM"],"x-order":"3","example":"CFT","isRequired":true,"uniqueKey":"data.container_info.unit","typeLabel":"enum\u003cstring>"},"volume":{"type":"number","x-order":"4","example":100,"isRequired":true,"uniqueKey":"data.container_info.volume","typeLabel":"number"},"name":{"type":"string","maxLength":255,"x-order":"1","example":"Container Name","uniqueKey":"data.container_info.name","typeLabel":"string"}},"uniqueKey":"data.container_info","typeLabel":"object"},"customer_consent":{"type":"object","x-order":"31","properties":{"has_consent":{"type":"boolean","x-order":"1","example":true,"uniqueKey":"data.customer_consent.has_consent","typeLabel":"boolean"},"consent_file_id":{"type":"string","x-order":"2","example":"1234567890","uniqueKey":"data.customer_consent.consent_file_id","typeLabel":"string"}},"uniqueKey":"data.customer_consent","typeLabel":"object"},"attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.attributes.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","x-order":"2","example":"Color","uniqueKey":"data.attributes.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","x-order":"3","example":"Red","uniqueKey":"data.attributes.items.[INDEX].value","typeLabel":"string"},"created_by":{"type":"string","x-order":"4","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.attributes.items.[INDEX].created_by","typeLabel":"string"},"updated_by":{"type":"string","x-order":"5","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.attributes.items.[INDEX].updated_by","typeLabel":"string"},"created_at":{"type":"string","x-order":"6","example":"2021-01-01T00:00:00Z","uniqueKey":"data.attributes.items.[INDEX].created_at","typeLabel":"string"},"updated_at":{"type":"string","x-order":"7","example":"2021-01-01T00:00:00Z","uniqueKey":"data.attributes.items.[INDEX].updated_at","typeLabel":"string"}},"uniqueKey":"data.attributes.items.[INDEX]","typeLabel":"object"},"x-order":"32","uniqueKey":"data.attributes","typeLabel":"object[]"},"po_number":{"type":"string","x-order":"33","uniqueKey":"data.po_number","typeLabel":"string"},"created_by":{"type":"object","x-order":"34","properties":{"id":{"type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.created_by.id","typeLabel":"string"},"email":{"type":"string","x-order":"2","example":"user@example.com","uniqueKey":"data.created_by.email","typeLabel":"string"}},"uniqueKey":"data.created_by","typeLabel":"object"},"updated_by":{"type":"object","x-order":"35","properties":{"id":{"type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.updated_by.id","typeLabel":"string"},"email":{"type":"string","x-order":"2","example":"user@example.com","uniqueKey":"data.updated_by.email","typeLabel":"string"}},"uniqueKey":"data.updated_by","typeLabel":"object"},"created_at":{"type":"string","x-order":"36","example":"2021-01-01T00:00:00Z","uniqueKey":"data.created_at","typeLabel":"string"},"updated_at":{"type":"string","x-order":"37","example":"2021-01-01T00:00:00Z","uniqueKey":"data.updated_at","typeLabel":"string"},"cart_total":{"description":"Sum of line item totals; null when unavailable.","type":"number","x-order":"38","example":100,"uniqueKey":"data.cart_total","typeLabel":"number"},"card":{"type":"object","properties":{"id":{"type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.card.id","typeLabel":"string"},"token":{"type":"string","x-order":"2","example":"PIuTv1UgBqESZ2KRDixPtDJt","uniqueKey":"data.card.token","typeLabel":"string"},"payment_method_type":{"type":"string","x-order":"3","example":"card","uniqueKey":"data.card.payment_method_type","typeLabel":"string"},"brand":{"type":"string","x-order":"4","example":"visa","uniqueKey":"data.card.brand","typeLabel":"string"},"card_type":{"type":"string","x-order":"5","example":"debit","uniqueKey":"data.card.card_type","typeLabel":"string"},"last_four_digits":{"type":"string","x-order":"6","example":"1111","uniqueKey":"data.card.last_four_digits","typeLabel":"string"},"card_exp":{"type":"string","x-order":"7","example":"09/25","uniqueKey":"data.card.card_exp","typeLabel":"string"},"external_customer_id":{"type":"string","x-order":"8","example":"cus_1234567890","uniqueKey":"data.card.external_customer_id","typeLabel":"string"}},"uniqueKey":"data.card","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","reference_id":"1234567890","display_id":"WC_1234567890","customer_id":"1234567890","customer_reference_id":"CUST_1234567890","customer_name":"John Doe","type":"order","status":"active","amount":100,"amount_paid":100,"shipment_date":"2021-01-01T00:00:00Z","due_date":"2021-01-01T00:00:00Z","payment_status":"PAID","fulfillment_status":"PARTIALLY_DELIVERED UNFULFILLED PARTIALLY_FULFILLED FULFILLED IN_PROGRESS DELIVERED","payment_method_id":"1234567890","payment_method":"payment_method","payment_term":"payment_term","shipping_method":"shipping_method","freight_term":"freight_term","internal_note":"internal_note","customer_note":"customer_note","source":"cart","entity_source":"wizorder","price_list_id":"1234567890","price_list":{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","name":"Default Price List","reference_id":"PL_1234567890"},"line_items":[{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","product_id":"1234567890","reference_id":"1234567890","sku":"1234567890","parent_sku_id":"\u003cstring>","quantity":10,"unit_price":100,"final_unit_price":95,"shipped_quantity":0,"invoiced_quantity":0,"cancelled_quantity":0,"picked_quantity":0,"discount":0,"discount_type":"percentage","note":"Extra packing material","is_adhoc":false,"applied_promotion":{"id":"\u003cstring>","name":"\u003cstring>","reference_id":"\u003cstring>","promo_code":"\u003cstring>"},"applied_modifiers":[{"id":"35ca9dd0-7c73-40b1-b964-051350edb956","name":"Rug Pad","unique_id":"RP","values":[{"id":"56fd881a-7ea3-44a9-a790-99cfe9c66cc3","price":0,"quantity":1,"suffix":"RP03","value":"RP03 6X9"}]}]}],"billing_address":{"id":"12345678-90ab-cdef-1234-567890abcdef","first_name":"John","last_name":"Doe","phone":"+14155552671","email":"john.doe@example.com","address_line_1":"123 Main St","address_line_2":"Apt 101","city":"Anytown","state":"CA","state_info":{"code":"US-CA","short_code":"CA","name":"California"},"country":"US","country_info":{"code":"USA","short_code":"US","name":"United States"},"zip_code":"12345","reference_id":"1234567890","attributes":[{"id":"12345678-90ab-cdef-1234-567890abcdef","name":"Apartment Number","value":"Apt 101","created_at":"2021-01-01T00:00:00Z","updated_at":"2021-01-01T00:00:00Z"}]},"shipping_address":{"id":"12345678-90ab-cdef-1234-567890abcdef","first_name":"John","last_name":"Doe","phone":"+14155552671","email":"john.doe@example.com","address_line_1":"123 Main St","address_line_2":"Apt 101","city":"Anytown","state":"CA","state_info":{"code":"US-CA","short_code":"CA","name":"California"},"country":"US","country_info":{"code":"USA","short_code":"US","name":"United States"},"zip_code":"12345","reference_id":"1234567890","attributes":[{"id":"12345678-90ab-cdef-1234-567890abcdef","name":"Apartment Number","value":"Apt 101","created_at":"2021-01-01T00:00:00Z","updated_at":"2021-01-01T00:00:00Z"}]},"primary_contact":{"id":"12345678-90ab-cdef-1234-567890abcdef","first_name":"John","last_name":"Doe","email":"john.doe@example.com","phone":"+14155552671","designation":"Sales Manager","attributes":[{"id":"12345678-90ab-cdef-1234-567890abcdef","name":"Department","value":"Sales","created_at":"2021-01-01T00:00:00Z","updated_at":"2021-01-01T00:00:00Z"}],"reference_id":"12345678-90ab-cdef-1234-567890abcdef"},"charges":[{"name":"shipping","type":"shipping","value_type":"percentage","amount":100,"applied_promotion":{"id":"\u003cstring>","name":"\u003cstring>","reference_id":"\u003cstring>","promo_code":"\u003cstring>"}}],"container_info":{"key":"40ft_hig","unit":"CFT","volume":100,"name":"Container Name"},"customer_consent":{"has_consent":true,"consent_file_id":"1234567890"},"attributes":[{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","name":"Color","value":"Red","created_by":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","updated_by":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","created_at":"2021-01-01T00:00:00Z","updated_at":"2021-01-01T00:00:00Z"}],"po_number":"\u003cstring>","created_by":{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","email":"user@example.com"},"updated_by":{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","email":"user@example.com"},"created_at":"2021-01-01T00:00:00Z","updated_at":"2021-01-01T00:00:00Z","cart_total":100,"card":{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","token":"PIuTv1UgBqESZ2KRDixPtDJt","payment_method_type":"card","brand":"visa","card_type":"debit","last_four_digits":"1111","card_exp":"09/25","external_customer_id":"cus_1234567890"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"3c648a92-e114-472b-a655-fe4f624b0bab":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"dc5f3042-1f4a-4e06-ac9a-1122462b62cd":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"00359e4b-c723-4ac3-a32b-78374022a034":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"e4a8d6a2-6396-428c-a550-c6da0720bd3a":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"eadf47f6-57d2-4c4b-b673-124963ca2212":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"563c30e7-9165-4d0d-b905-8650c11c9840":{"ApiKeyAuth":{"description":"API Key for authentication","type":"apiKey","name":"X-API-Key","in":"header","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"3dfc58e3-56be-4a28-af9d-c04d1f7c3dc6":{"url":"https://api.wizcommerce.com","description":"Production BaseURL"},"887541fe-0caa-492c-ade4-30db936ca155":{"url":"https://api-staging.sourcerer.tech","description":"Staging BaseURL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"API Key for authentication","type":"apiKey","name":"X-API-Key","in":"header","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"API Key for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"wiz-3b1b07ce","siteName":"WizCommerce","title":"Patch order - WizCommerce","navMaps":{"firstHrefInVersion":{"2026-09-11":{"href":"/api-reference/2026-09-11/orders/patch-order","matchLevel":0},"2025-05-05":{"href":"/api-reference/2025-05-05/sales-reps/list-sales-reps","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T07:56:58.333Z","originalFileLocation":"api-reference/2026-09-11/orders/patch-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=\"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it. - A field you send replaces its stored value whole, including objects and lists. \u0026quot;\u0026quot; clears it. - line_items cannot be empty.\">\u003cmeta data-mint-head name=\"application-name\" content=\"WizCommerce\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Patch order - WizCommerce\">\u003cmeta data-mint-head property=\"og:description\" content=\"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it. - A field you send replaces its stored value whole, including objects and lists. \u0026quot;\u0026quot; clears it. - line_items cannot be empty.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WizCommerce\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wiz-3b1b07ce.mintlify.app/_mintlify/api/og/v2?division=Orders+%28v2%29\u0026amp;title=Patch+order\u0026amp;description=Partially+update+an+order.+Same+fields+as+PUT%2C+plus+status.+Omit+a+field+to+keep+it.%0A-+A+field+you+send+replaces+its+stored+value+whole%2C+including+objects+and+l\u0026amp;theme=dec429440e3ffdc65856fbbe\u0026amp;signature=9815f761487cecb308b3db841d11982b354ce5fcd17f6aadcf6161923024ec3f\">\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=\"Patch order - WizCommerce\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it. - A field you send replaces its stored value whole, including objects and lists. \u0026quot;\u0026quot; clears it. - line_items cannot be empty.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wiz-3b1b07ce.mintlify.app/_mintlify/api/og/v2?division=Orders+%28v2%29\u0026amp;title=Patch+order\u0026amp;description=Partially+update+an+order.+Same+fields+as+PUT%2C+plus+status.+Omit+a+field+to+keep+it.%0A-+A+field+you+send+replaces+its+stored+value+whole%2C+including+objects+and+l\u0026amp;theme=dec429440e3ffdc65856fbbe\u0026amp;signature=9815f761487cecb308b3db841d11982b354ce5fcd17f6aadcf6161923024ec3f\">\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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WizCommerce\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FD691F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-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/2026-09-11/orders/patch-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wizcommerce.com/#organization\",\"name\":\"WizCommerce\",\"url\":\"https://docs.wizcommerce.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wiz-3b1b07ce/83h4wzuLqryi0-3b/logo/logo1-light.svg?fit=max\u0026auto=format\u0026n=83h4wzuLqryi0-3b\u0026q=85\u0026s=896242c42d257168efd90e301f4e2075\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wizcommerce.com#website\",\"name\":\"WizCommerce\",\"url\":\"https://docs.wizcommerce.com\",\"publisher\":{\"@id\":\"https://docs.wizcommerce.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order#webpage\",\"url\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order\",\"name\":\"Patch order\",\"description\":\"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it. - A field you send replaces its stored value whole, including objects and lists. \\\"\\\" clears it. - line_items cannot be empty.\",\"dateModified\":\"2026-09-25T07:56:58.333Z\",\"isPartOf\":{\"@id\":\"https://docs.wizcommerce.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core APIs\",\"item\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/sales-reps/list-sales-reps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orders (v2)\",\"item\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/get-orders\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Patch order\",\"item\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order#apireference\",\"headline\":\"Patch order\",\"name\":\"Patch order\",\"description\":\"Partially update an order. Same fields as PUT, plus status. Omit a field to keep it. - A field you send replaces its stored value whole, including objects and lists. \\\"\\\" clears it. - line_items cannot be empty.\",\"url\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/patch-order#webpage\"},\"dateModified\":\"2026-09-25T07:56:58.333Z\",\"publisher\":{\"@id\":\"https://docs.wizcommerce.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wizcommerce.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WizCommerce\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"WizCommerce","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","versions":[{"version":"2026-09-11","default":true,"tag":"Latest","groups":[{"group":"Auth","pages":[{"openapi":"post /auth/token","title":"Create API Token","href":"/api-reference/2026-09-11/auth/create-token"},{"openapi":"delete /auth/token","title":"Revoke API Token","href":"/api-reference/2026-09-11/auth/revoke-token"}]},{"group":"Core APIs","pages":[{"group":"Sales Rep","pages":[{"openapi":"get /v1/sales-reps","title":"Get Sales Rep List","href":"/api-reference/2026-09-11/sales-reps/list-sales-reps"}]},{"group":"Attributes (v2)","pages":[{"openapi":"get /v2/attributes","title":"List Attributes","href":"/api-reference/2026-09-11/attributes/get-attributes"},{"openapi":"post /v2/attributes","title":"Create Attributes","href":"/api-reference/2026-09-11/attributes/create-attributes"},{"openapi":"patch /v2/attributes/{attribute_id}","title":"Update Attribute","href":"/api-reference/2026-09-11/attributes/update-attributes"},{"openapi":"delete /v2/attributes/{attribute_id}","title":"Delete Attribute","href":"/api-reference/2026-09-11/attributes/delete-attributes"}]},{"group":"Customer (v2)","pages":[{"openapi":"get /v2/customers","title":"List Customers","href":"/api-reference/2026-09-11/customer/get-customers"},{"openapi":"post /v2/customers","title":"Create Customer","href":"/api-reference/2026-09-11/customer/create-customer"},{"openapi":"get /v2/customers/{id}","title":"Get Customer By ID","href":"/api-reference/2026-09-11/customer/get-customer"},{"openapi":"patch /v2/customers/{id}","title":"Update Customer","href":"/api-reference/2026-09-11/customer/update-customer"},{"openapi":"delete /v2/customers/{id}","title":"Delete Customer","href":"/api-reference/2026-09-11/customer/delete-customer"},{"group":"Addresses (v2)","pages":[{"openapi":"get /v2/customers/addresses","title":"List Addresses","href":"/api-reference/2026-09-11/customer/get-addresses"},{"openapi":"get /v2/customers/addresses/{address_id}","title":"Get Address By ID","href":"/api-reference/2026-09-11/customer/get-customer-address-by-id"},{"openapi":"post /v2/customers/{customer_id}/addresses","title":"Create Address","href":"/api-reference/2026-09-11/customer/create-address"},{"openapi":"patch /v2/customers/{customer_id}/addresses/{address_id}","title":"Update Address","href":"/api-reference/2026-09-11/customer/update-address"},{"openapi":"delete /v2/customers/{customer_id}/addresses/{address_id}","title":"Delete Address","href":"/api-reference/2026-09-11/customer/delete-address"}]},{"group":"Contacts (v2)","pages":[{"openapi":"get /v2/customers/contacts","title":"List Contacts","href":"/api-reference/2026-09-11/customer/get-contacts"},{"openapi":"get /v2/customers/contacts/{contact_id}","title":"Get Contact By ID","href":"/api-reference/2026-09-11/customer/get-customer-contact-by-id"},{"openapi":"post /v2/customers/{customer_id}/contacts","title":"Create Contact","href":"/api-reference/2026-09-11/customer/create-contact"},{"openapi":"patch /v2/customers/{customer_id}/contacts/{contact_id}","title":"Update Contact","href":"/api-reference/2026-09-11/customer/update-contact"},{"openapi":"delete /v2/customers/{customer_id}/contacts/{contact_id}","title":"Delete Contact","href":"/api-reference/2026-09-11/customer/delete-contact"}]}]},{"group":"Payment Method","pages":[{"openapi":"get /v1/payment-methods","title":"List payment methods","href":"/api-reference/2026-09-11/payment-method/get-payment-methods"},{"openapi":"get /v1/payment-methods/{id}","title":"Get payment method by ID","href":"/api-reference/2026-09-11/payment-method/get-payment-method-by-id"},{"openapi":"post /v1/payment-methods","title":"Create payment method","href":"/api-reference/2026-09-11/payment-method/save-payment-method"},{"openapi":"delete /v1/payment-methods/{id}","title":"Delete payment method","href":"/api-reference/2026-09-11/payment-method/delete-payment-method"}]},{"group":"Price List","pages":[{"openapi":"get /v1/price-lists","title":"List Price Lists","href":"/api-reference/2026-09-11/price-list/list-price-lists"},{"openapi":"post /v1/price-lists","title":"Create Price List","href":"/api-reference/2026-09-11/price-list/create-price-list"},{"openapi":"get /v1/price-lists/{id}","title":"Get Price List By ID","href":"/api-reference/2026-09-11/price-list/get-price-list-by-id"},{"openapi":"delete /v1/price-lists/{id}","title":"Delete Price List","href":"/api-reference/2026-09-11/price-list/delete-price-list"},{"openapi":"patch /v1/price-lists/{id}","title":"Update Price List","href":"/api-reference/2026-09-11/price-list/update-price-list"}]},{"group":"Contract Pricing","pages":[{"openapi":"get /v1/contract-pricing","title":"List Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/list-contract-pricing"},{"openapi":"post /v1/contract-pricing","title":"Create Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/create-contract-pricing"},{"openapi":"get /v1/contract-pricing/{id}","title":"Get Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/get-contract-pricing-by-id"},{"openapi":"patch /v1/contract-pricing/{id}","title":"Update Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/update-contract-pricing"},{"openapi":"delete /v1/contract-pricing/{id}","title":"Delete Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/delete-contract-pricing"}]},{"group":"Segment","pages":[{"openapi":"get /v1/segments","title":"List Segments","href":"/api-reference/2026-09-11/segments/list-segments"}]},{"group":"Product (v2)","pages":[{"openapi":"post /v2/products","title":"Create Product","href":"/api-reference/2026-09-11/product/create-product"},{"openapi":"get /v2/products","title":"List Products","href":"/api-reference/2026-09-11/product/list-products"},{"openapi":"get /v2/products/{id}","title":"Get Product By ID","href":"/api-reference/2026-09-11/product/get-product-by-id"},{"openapi":"patch /v2/products/{id}","title":"Update Product","href":"/api-reference/2026-09-11/product/update-product"}]},{"group":"Media","pages":[{"openapi":"post /v1/media/upload","title":"Upload Image","href":"/api-reference/2026-09-11/media/upload-image"}]},{"group":"Inventory","pages":[{"openapi":"get /v1/inventories","title":"List Inventories","href":"/api-reference/2026-09-11/inventory/get-inventories"},{"openapi":"post /v1/inventories","title":"Save Inventory","href":"/api-reference/2026-09-11/inventory/update-inventory"}]},{"group":"Orders (v2)","pages":[{"openapi":"get /v2/orders","title":"List orders","href":"/api-reference/2026-09-11/orders/get-orders"},{"openapi":"post /v2/orders","title":"Create order","href":"/api-reference/2026-09-11/orders/create-order"},{"openapi":"get /v2/orders/{id}","title":"Get order","href":"/api-reference/2026-09-11/orders/get-order"},{"openapi":"put /v2/orders/{id}","title":"Update order","description":"Update order","href":"/api-reference/2026-09-11/orders/update-order"},{"openapi":"patch /v2/orders/{id}","title":"Patch order","href":"/api-reference/2026-09-11/orders/patch-order"},{"openapi":"patch /v2/orders/{id}/status","title":"Update order status","description":"Update order status. Status is passed in the request body.","href":"/api-reference/2026-09-11/orders/update-order-status"}]},{"group":"Invoices (v2)","pages":[{"openapi":"get /v2/invoices","title":"List Invoices","href":"/api-reference/2026-09-11/invoice/get-invoices"},{"openapi":"post /v2/invoices","title":"Create Invoice","href":"/api-reference/2026-09-11/invoice/create-invoice"},{"openapi":"get /v2/invoices/{id}","title":"Get Invoice","href":"/api-reference/2026-09-11/invoice/get-invoice"},{"openapi":"put /v2/invoices/{id}","title":"Update Invoice","href":"/api-reference/2026-09-11/invoice/update-invoice"},{"openapi":"delete /v2/invoices/{id}","title":"Delete Invoice","href":"/api-reference/2026-09-11/invoice/delete-invoice"}]},{"group":"Shipments","pages":[{"openapi":"get /v1/shipments","title":"List Shipments","href":"/api-reference/2026-09-11/shipment/get-shipments"},{"openapi":"post /v1/shipments","title":"Create Shipment","href":"/api-reference/2026-09-11/shipment/create-shipment"},{"openapi":"get /v1/shipments/{id}","title":"Get Shipment","href":"/api-reference/2026-09-11/shipment/get-shipment"},{"openapi":"patch /v1/shipments/{id}","title":"Update Shipment","href":"/api-reference/2026-09-11/shipment/update-shipment"},{"openapi":"delete /v1/shipments/{id}","title":"Delete Shipment","href":"/api-reference/2026-09-11/shipment/delete-shipment"}]}]}]},{"version":"2025-05-05","tag":"Initial","pages":[{"title":"2025-05-05","href":"/api-reference/2025-05-05/sales-reps/list-sales-reps"}]}]},{"tab":"Internal","hidden":true,"pages":[{"title":"Internal","href":"/internal"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026-09-11"}]}]},"basePath":"","title":"Patch order - WizCommerce","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}