Billing address is stored and persisted in the order. It can be sent as custom address without ID which can be stored as temporary address to be used for billing only for this order
Shipping address is stored and persisted in the order. It can be sent as custom address without ID which can be stored as temporary address to be used for shipping only for this order
Primary contact is stored and persisted in the order. It can be sent as custom contact without ID which can be stored as temporary contact to be used for primary contact only for this order
{"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.3971","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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/2026-09-11/orders/create-order","slug":"/api-reference/2026-09-11/orders/create-order","pageMetadata":{"openapi":"post /v2/orders","title":"Create order","description":"Create order","href":"/api-reference/2026-09-11/orders/create-order"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create order\"\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":{"openapi":"post /v2/orders","title":"Create order","description":"Create order","href":"/api-reference/2026-09-11/orders/create-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"security":["ecc792ec-c351-4f12-9473-2f1d19590948"],"description":"Create order","tags":["Orders"],"summary":"Create order","requestBody":"0c1fcda0-a5c2-4f23-b5ff-1a55a1763e62","responses":{"201":"c78feef7-9331-4ecb-97dd-4d5294e54fa4","400":"35dd52f6-18ed-4f94-8be4-db73d189d704","401":"6eeebd48-a69e-4a8c-8528-0f21ca38cfbf","429":"5d233902-811a-4061-b794-5946010503df","500":"3ec456db-67fa-423b-8040-a4379407183b"},"method":"post","type":"path","servers":["3dfc58e3-56be-4a28-af9d-c04d1f7c3dc6","887541fe-0caa-492c-ade4-30db936ca155"],"path":"/v2/orders","baseUrlOptions":["https://api.wizcommerce.com","https://api-staging.sourcerer.tech"],"title":"Create order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["created_at","customer_id","fulfillment_status","line_items","payment_status","updated_at"],"properties":{"customer_id":{"type":"string","x-order":"3","example":"12345678-90ab-cdef-1234-567890abcdef","isRequired":true,"uniqueKey":"customer_id","typeLabel":"string"},"payment_status":{"type":"string","enum":["PAID","PENDING","PARTIALLY_PAID","REFUNDED","OVERPAID","VOIDED"],"x-order":"17","example":"PAID","isRequired":true,"uniqueKey":"payment_status","typeLabel":"enum\u003cstring>"},"fulfillment_status":{"type":"string","enum":["PARTIALLY_DELIVERED","UNFULFILLED","PARTIALLY_FULFILLED","FULFILLED","IN_PROGRESS","DELIVERED"],"x-order":"19","example":"PARTIALLY_DELIVERED","isRequired":true,"uniqueKey":"fulfillment_status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","x-order":"20","example":"2025-01-01T00:00:00Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"updated_at":{"description":"Updated at must be later than the order creation date","type":"string","x-order":"21","example":"2025-01-01T00:00:00Z","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string"},"line_items":{"type":"array","minItems":1,"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":"29","isRequired":true,"uniqueKey":"line_items","typeLabel":"object[]"},"reference_id":{"type":"string","maxLength":255,"x-order":"1","example":"1234567890","uniqueKey":"reference_id","typeLabel":"string"},"display_id":{"description":"This is the display ID of the order, it is generated by the system if not provided.","type":"string","maxLength":255,"x-order":"2","example":"1234567890","uniqueKey":"display_id","typeLabel":"string"},"type":{"description":"order or quote. Omit to store order.","type":"string","enum":["order","quote"],"x-order":"4","example":"order","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"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":"This is total amount of the order before all discounts, taxes, shipping charges, etc. are applied.","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 offered on the order, always amount of actual discount offered. e.g. if discount is 10% off, then discount value is 10.00 for 100.00 amount","type":"number","x-order":"12","example":10,"uniqueKey":"discount_value","typeLabel":"number"},"tax_value":{"description":"Tax value on the order, always amount of actual tax offered. e.g. if tax is 10% of amount, then tax value is 10.00 for 100.00 amount","type":"number","x-order":"13","example":10,"uniqueKey":"tax_value","typeLabel":"number"},"shipping_charge":{"description":"Shipping charge on the order, always amount of actual shipping charge offered. e.g. if shipping charge is $10.00, then shipping charge is $10.00","type":"number","x-order":"14","example":10,"uniqueKey":"shipping_charge","typeLabel":"number"},"shipment_date":{"description":"Shipment date must be later than the order creation date","type":"string","x-order":"15","example":"2025-01-01T00:00:00Z","uniqueKey":"shipment_date","typeLabel":"string"},"due_date":{"description":"Due date must be later than the order creation date, send null if due date is not applicable","type":"string","x-order":"16","example":"2025-01-01T00:00:00Z","uniqueKey":"due_date","typeLabel":"string"},"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"},"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"},"status":{"description":"Orders: draft or confirmed, default confirmed. Quotes: draft or submitted, default submitted. Cancelled is PATCH only.","type":"string","enum":["draft","confirmed","submitted"],"x-order":"22","example":"draft","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"source":{"description":"Source of the order, if not provided then it will be openapi","type":"string","x-order":"23","example":"high-point","uniqueKey":"source","typeLabel":"string"},"customer_consent":{"type":"object","required":["consent_file_id","has_consent"],"x-order":"24","properties":{"has_consent":{"type":"boolean","x-order":"1","isRequired":true,"uniqueKey":"customer_consent.has_consent","typeLabel":"boolean"},"consent_file_id":{"type":"string","x-order":"2","isRequired":true,"uniqueKey":"customer_consent.consent_file_id","typeLabel":"string"}},"uniqueKey":"customer_consent","typeLabel":"object"},"po_number":{"type":"string","maxLength":255,"x-order":"24","uniqueKey":"po_number","typeLabel":"string"},"container_info":{"type":"object","required":["key","unit","volume"],"x-order":"25","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":"Billing address is stored and persisted in the order. It can be sent as custom address without ID which can be stored as temporary address to be used for billing only for this order","x-order":"26","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":"Shipping address is stored and persisted in the order. It can be sent as custom address without ID which can be stored as temporary address to be used for shipping only for this order","x-order":"27","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":"Primary contact is stored and persisted in the order. It can be sent as custom contact without ID which can be stored as temporary contact to be used for primary contact only for this order","x-order":"28","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"},"attributes":{"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":"30","uniqueKey":"attributes","typeLabel":"object[]"},"additional_charges":{"description":"These are additional charges on the order apart from shipping, tax, discount, etc. It will be add-on to the total amount of the order.","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":"31","uniqueKey":"additional_charges","typeLabel":"object[]"},"entity_source":{"description":"Source of the entity, if not provided then it will be openapi","type":"string","x-order":"32","example":"openapi","uniqueKey":"entity_source","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customer_id":"12345678-90ab-cdef-1234-567890abcdef","payment_status":"PAID","fulfillment_status":"PARTIALLY_DELIVERED","created_at":"2025-01-01T00:00:00Z","updated_at":"2025-01-01T00:00:00Z","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"}],"reference_id":"1234567890","display_id":"1234567890","type":"order","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_method":"On Account","payment_method_id":"1234567890","customer_note":"Customer Notes","internal_note":"Internal Notes","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"}]},"attributes":[{"name":"1234567890","value":"red"}],"additional_charges":[{"name":"\u003cstring>","amount":123}],"entity_source":"openapi"}}},"exampleType":"generated"}},"description":"request","required":true,"exampleType":"generated"},"responses":{"c78feef7-9331-4ecb-97dd-4d5294e54fa4":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","x-order":"1","properties":{"id":{"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"},"type":{"type":"string","enum":["order","quote"],"x-order":"5","example":"order","uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","x-order":"6","example":"active","uniqueKey":"data.status","typeLabel":"string"},"amount":{"type":"number","x-order":"7","example":100,"uniqueKey":"data.amount","typeLabel":"number"},"amount_paid":{"type":"number","x-order":"8","example":100,"uniqueKey":"data.amount_paid","typeLabel":"number"},"payment_status":{"type":"string","x-order":"9","example":"PAID","uniqueKey":"data.payment_status","typeLabel":"string"},"fulfillment_status":{"type":"string","x-order":"10","example":"PARTIALLY_DELIVERED UNFULFILLED PARTIALLY_FULFILLED FULFILLED IN_PROGRESS DELIVERED","uniqueKey":"data.fulfillment_status","typeLabel":"string"},"payment_method_id":{"type":"string","x-order":"11","example":"1234567890","uniqueKey":"data.payment_method_id","typeLabel":"string"},"payment_method":{"type":"string","x-order":"12","example":"payment_method","uniqueKey":"data.payment_method","typeLabel":"string"},"payment_term":{"type":"string","x-order":"13","example":"payment_term","uniqueKey":"data.payment_term","typeLabel":"string"},"shipping_method":{"type":"string","x-order":"14","example":"shipping_method","uniqueKey":"data.shipping_method","typeLabel":"string"},"freight_term":{"type":"string","x-order":"15","example":"freight_term","uniqueKey":"data.freight_term","typeLabel":"string"},"internal_note":{"type":"string","x-order":"16","example":"internal_note","uniqueKey":"data.internal_note","typeLabel":"string"},"customer_note":{"type":"string","x-order":"17","example":"customer_note","uniqueKey":"data.customer_note","typeLabel":"string"},"shipment_date":{"type":"string","x-order":"18","example":"2021-01-01T00:00:00Z","uniqueKey":"data.shipment_date","typeLabel":"string"},"due_date":{"type":"string","x-order":"19","example":"2021-01-01T00:00:00Z","uniqueKey":"data.due_date","typeLabel":"string"},"source":{"description":"Source of the order, such as cart, openapi, or sales_rep.","type":"string","x-order":"20","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":"20.5","example":"wizorder","uniqueKey":"data.entity_source","typeLabel":"string"},"price_list_id":{"type":"string","x-order":"21","example":"1234567890","uniqueKey":"data.price_list_id","typeLabel":"string"},"primary_contact":{"type":"object","x-order":"22","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"},"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"},"shipping_address":{"type":"object","x-order":"23","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"}},"uniqueKey":"data.shipping_address","typeLabel":"object"},"billing_address":{"type":"object","x-order":"24","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"}},"uniqueKey":"data.billing_address","typeLabel":"object"},"po_number":{"type":"string","x-order":"25","uniqueKey":"data.po_number","typeLabel":"string"},"created_at":{"type":"string","x-order":"26","example":"2021-01-01T00:00:00Z","uniqueKey":"data.created_at","typeLabel":"string"},"updated_at":{"type":"string","x-order":"27","example":"2021-01-01T00:00:00Z","uniqueKey":"data.updated_at","typeLabel":"string"}},"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","type":"order","status":"active","amount":100,"amount_paid":100,"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","shipment_date":"2021-01-01T00:00:00Z","due_date":"2021-01-01T00:00:00Z","source":"cart","entity_source":"wizorder","price_list_id":"1234567890","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"},"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"},"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"},"po_number":"\u003cstring>","created_at":"2021-01-01T00:00:00Z","updated_at":"2021-01-01T00:00:00Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"35dd52f6-18ed-4f94-8be4-db73d189d704":{"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"},"6eeebd48-a69e-4a8c-8528-0f21ca38cfbf":{"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"},"5d233902-811a-4061-b794-5946010503df":{"description":"Too Many Requests","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"},"3ec456db-67fa-423b-8040-a4379407183b":{"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":{"ecc792ec-c351-4f12-9473-2f1d19590948":{"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":"Create order - WizCommerce","navMaps":{"firstHrefInVersion":{"2026-09-11":{"href":"/api-reference/2026-09-11/orders/create-order","matchLevel":0},"2025-05-05":{"href":"/api-reference/2025-05-05/orders/create-order","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T13:01:42.887Z","originalFileLocation":"api-reference/2026-09-11/orders/create-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 order\">\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=\"Create order - WizCommerce\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create order\">\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/create-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=Create+order\u0026amp;description=Create+order\u0026amp;theme=dec429440e3ffdc65856fbbe\u0026amp;signature=9146081caac6f5d0a1e5aeed518aa68f5fa3aa4269a65dd9ff9bc70366709fcf\">\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 order - WizCommerce\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create order\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wiz-3b1b07ce.mintlify.app/_mintlify/api/og/v2?division=Orders+%28v2%29\u0026amp;title=Create+order\u0026amp;description=Create+order\u0026amp;theme=dec429440e3ffdc65856fbbe\u0026amp;signature=9146081caac6f5d0a1e5aeed518aa68f5fa3aa4269a65dd9ff9bc70366709fcf\">\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/create-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/create-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/create-order#webpage\",\"url\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/create-order\",\"name\":\"Create order\",\"description\":\"Create order\",\"dateModified\":\"2026-09-11T13:01:42.887Z\",\"isPartOf\":{\"@id\":\"https://docs.wizcommerce.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/create-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/create-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\":\"Create order\",\"item\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/create-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/create-order#apireference\",\"headline\":\"Create order\",\"name\":\"Create order\",\"description\":\"Create order\",\"url\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/create-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/orders/create-order#webpage\"},\"dateModified\":\"2026-09-11T13:01:42.887Z\",\"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","description":"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","description":"Get order","href":"/api-reference/2026-09-11/orders/get-order"},{"openapi":"put /v2/orders/{id}","title":"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","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/orders/create-order"}]}]},{"tab":"Internal","hidden":true,"pages":[{"title":"Internal","href":"/internal"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026-09-11"}]}]},"title":"Create order - WizCommerce","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}