This endpoint creates a final order in OpenBorder’s Order Management System (OMS) once your customer has selected their shipping option and agreed to the calculated landed cost.
This call ensures the order is registered in OpenBorder’s OMS so we can:
Record the exact duties & taxes to be remitted to authorities
Guarantee the correct shipping rate is linked to the shipment
Generate accurate billing and settlement for your international shipments
Total amount of the order including all charges, taxes, duties, discounts and refund in major currency units (e.g., dollars). Up to two decimal places are allowed.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"OpenBorder API Documentation","colors":{"primary":"#0540f4","light":"#070707","dark":"#051130"},"logo":{"light":"https://mintcdn.com/openborder-2b51b6dd/S0NizTekLQ6ttVRZ/images/Logo-48px.png?fit=max\u0026auto=format\u0026n=S0NizTekLQ6ttVRZ\u0026q=85\u0026s=bce3b91de865573b8550ef923ea21b25","dark":"https://mintcdn.com/openborder-2b51b6dd/S0NizTekLQ6ttVRZ/images/Logo-48px.png?fit=max\u0026auto=format\u0026n=S0NizTekLQ6ttVRZ\u0026q=85\u0026s=bce3b91de865573b8550ef923ea21b25"},"favicon":"https://mintcdn.com/openborder-2b51b6dd/ZfGRmbNr7AFdJzOY/images/favicon.png?fit=max\u0026auto=format\u0026n=ZfGRmbNr7AFdJzOY\u0026q=85\u0026s=0bff9fc4120aee640ae1aca8104bb2a6","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:richard@openborder.com","label":"Support"}],"primary":{"type":"button","label":"Get Access","href":"https://openborder.com"}},"footer":{"socials":{}},"fonts":{"family":"DM Sans"},"styling":{"codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openborder-2b51b6dd","hasAudioNarration":false,"actualSubdomain":"openborder-2b51b6dd","customDomains":["developers.openborder.com"],"gitSource":{"type":"gitlab","owner":"pangaea-holdings","repo":"openborder-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"projectId":86063915,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aedfbbded2e00f2f0020b1b","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":9},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Integration Guides","count":7},{"language":"default","tag":"Landed Cost Integration","count":3},{"language":"default","tag":"Tracking","count":3},{"language":"default","tag":"Landed Cost","count":2},{"language":"default","tag":"Orders","count":2},{"language":"default","tag":"Get Started","count":1},{"language":"default","tag":"Label Compliance","count":1},{"language":"default","tag":"Shipping Labels","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/orders/submit-a-new-order","slug":"/api-reference/orders/submit-a-new-order","pageMetadata":{"title":"Submit a new order","description":"## What this endpoint does\nThis endpoint **creates a final order in OpenBorder’s Order Management System (OMS)** once your customer has **selected their shipping option and agreed to the calculated landed cost**.\nThis call ensures the order is registered in OpenBorder’s OMS so we can:\n- Record the exact **duties \u0026 taxes** to be remitted to authorities\n- Guarantee the correct shipping rate is linked to the shipment\n- Generate accurate billing and settlement for your international shipments\n","deprecated":null,"version":null,"openapi":"/api-reference/landed-cost.json post /v1/orders","href":"/api-reference/orders/submit-a-new-order","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n h2: \"h2\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.h2, {\n children: \"What this endpoint does\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"This endpoint \", _jsx(_components.strong, {\n children: \"creates a final order in OpenBorder’s Order Management System (OMS)\"\n }), \" once your customer has \", _jsx(_components.strong, {\n children: \"selected their shipping option and agreed to the calculated landed cost\"\n }), \".\\nThis call ensures the order is registered in OpenBorder’s OMS so we can:\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Record the exact \", _jsx(_components.strong, {\n children: \"duties \u0026 taxes\"\n }), \" to be remitted to authorities\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Guarantee the correct shipping rate is linked to the shipment\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Generate accurate billing and settlement for your international shipments\"\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}=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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Submit a new order","description":"## What this endpoint does\nThis endpoint **creates a final order in OpenBorder’s Order Management System (OMS)** once your customer has **selected their shipping option and agreed to the calculated landed cost**.\nThis call ensures the order is registered in OpenBorder’s OMS so we can:\n- Record the exact **duties \u0026 taxes** to be remitted to authorities\n- Guarantee the correct shipping rate is linked to the shipment\n- Generate accurate billing and settlement for your international shipments\n","deprecated":null,"version":null,"openapi":"/api-reference/landed-cost.json post /v1/orders","href":"/api-reference/orders/submit-a-new-order","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"## What this endpoint does\nThis endpoint **creates a final order in OpenBorder’s Order Management System (OMS)** once your customer has **selected their shipping option and agreed to the calculated landed cost**.\nThis call ensures the order is registered in OpenBorder’s OMS so we can:\n- Record the exact **duties \u0026 taxes** to be remitted to authorities\n- Guarantee the correct shipping rate is linked to the shipment\n- Generate accurate billing and settlement for your international shipments\n","operationId":"OrdersController_createOrder","parameters":["e45745ae-9125-4dc9-b84c-18b657b28353"],"requestBody":"3b99f4b2-8ffa-458f-b1ca-f30374e278a5","responses":{"204":"f3987e9e-8c0f-4bf2-b4d8-e7299a7ecc35","400":"58605694-8055-48c3-a9c4-f9f42eeddbca","401":"b67a335f-d922-4dff-9685-88b8a1a64b89","403":"6d419ac3-d395-4a42-95b5-58e5c588602e","422":"dee3a5f5-36a8-43df-a67e-82457c283371","429":"c16847b4-6848-4e84-b35b-61aa4f96ecf0","500":"80eb069e-af32-47a0-89dd-a4eeb8b40d56"},"summary":"Submit a new order","tags":["Orders"],"method":"post","type":"path","servers":["eed9f8e2-78a0-44e9-9900-cdc72222afb4","b9ddf667-3f0b-49bc-93d7-faff79974329"],"security":[],"path":"/v1/orders","baseUrlOptions":["https://api.openborder.com/api/direct/","https://api.staging.openborder.com/api/direct/"],"title":"Submit a new order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e45745ae-9125-4dc9-b84c-18b657b28353":{"name":"x-openborder-direct-api-key","in":"header","description":"OpenBorder merchant API token","required":true,"schema":{"type":"string","isRequired":true,"description":"OpenBorder merchant API token","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","description":"Source system from which the order originated.","isRequired":true,"uniqueKey":"source","typeLabel":"string"},"source_reference":{"type":"number","description":"Reference ID from the source system. This is the unique identifier to reference the order on subsequent calls and cannot be updated.","isRequired":true,"uniqueKey":"source_reference","typeLabel":"number"},"landedcost_request_id":{"type":"string","description":"Unique ID for this tax calculation request provided when calculating landed cost.","isRequired":true,"uniqueKey":"landedcost_request_id","typeLabel":"string"},"source_created_at":{"type":"string","description":"Timestamp in ISO format when the order was created in the source system.","isRequired":true,"uniqueKey":"source_created_at","typeLabel":"string"},"source_updated_at":{"type":"string","description":"Timestamp in ISO format when the order was last updated in the source system.","isRequired":true,"uniqueKey":"source_updated_at","typeLabel":"string"},"total":{"type":"number","description":"Total amount of the order including all charges, taxes, duties, discounts and refund in major currency units (e.g., dollars). Up to two decimal places are allowed.","isRequired":true,"uniqueKey":"total","typeLabel":"number"},"shipments":{"description":"Shipments on the order. Each must include a tax_request_id from the tax calculation step.","type":"array","items":{"type":"object","properties":{"tax_transaction_id":{"type":"string","description":"Unique tax transaction identifier received on the cart tax calculation request for the shipment.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].tax_transaction_id","typeLabel":"string"},"shipment_id":{"type":"string","description":"The unique ID for the shipment.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipment_id","typeLabel":"string"}},"required":["tax_transaction_id","shipment_id"],"uniqueKey":"shipments.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"shipments","typeLabel":"object[]"},"billing_address":{"type":"object","description":"Billing address for the order.","required":["country_code"],"properties":{"country_code":{"type":"string","description":"The two-letter country code (ISO 3166-1 alpha-2) for the billing address (e.g. \"CA\" for Canada).","isRequired":true,"uniqueKey":"billing_address.country_code","typeLabel":"string"},"province":{"oneOf":[{"type":"string","description":"The state, province, or region within the billing country. Include this if your billing country has one (e.g.\"ON\" for Ontario).","uniqueKey":"billing_address.province.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state, province, or region within the billing country. Include this if your billing country has one (e.g.\"ON\" for Ontario).","uniqueKey":"billing_address.province.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing_address.province","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"The ZIP code or postal code for the billing address.","uniqueKey":"billing_address.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ZIP code or postal code for the billing address.","uniqueKey":"billing_address.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing_address.postal_code","typeLabel":"string | null"},"address1":{"oneOf":[{"type":"string","description":"The primary street address line for billing, such as the house number and street name. Example: \"123 Main Street\".","uniqueKey":"billing_address.address1.oneOf.0","typeLabel":"string"},{"type":"null","description":"The primary street address line for billing, such as the house number and street name. Example: \"123 Main Street\".","uniqueKey":"billing_address.address1.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing_address.address1","typeLabel":"string | null"},"address2":{"oneOf":[{"type":"string","description":"A secondary billing address line, such as an apartment, suite, or unit number. Example: \"Apt 4B\".","uniqueKey":"billing_address.address2.oneOf.0","typeLabel":"string"},{"type":"null","description":"A secondary billing address line, such as an apartment, suite, or unit number. Example: \"Apt 4B\".","uniqueKey":"billing_address.address2.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing_address.address2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city or locality for the billing address.","uniqueKey":"billing_address.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city or locality for the billing address.","uniqueKey":"billing_address.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing_address.city","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The full name of the person or entity responsible for billing at this address.","uniqueKey":"billing_address.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The full name of the person or entity responsible for billing at this address.","uniqueKey":"billing_address.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing_address.name","typeLabel":"string | null"}},"uniqueKey":"billing_address","typeLabel":"object"},"custom_properties":{"oneOf":[{"type":"object","description":"Optional custom metadata or structured properties. Object max. size is 4 KB.","uniqueKey":"custom_properties.oneOf.0","typeLabel":"object"},{"type":"null","description":"Optional custom metadata or structured properties. Object max. size is 4 KB.","uniqueKey":"custom_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_properties","typeLabel":"object | null"}},"required":["source","source_reference","landedcost_request_id","source_created_at","source_updated_at","total","shipments"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"source":"\u003cstring>","source_reference":123,"landedcost_request_id":"\u003cstring>","source_created_at":"\u003cstring>","source_updated_at":"\u003cstring>","total":123,"shipments":[{"tax_transaction_id":"\u003cstring>","shipment_id":"\u003cstring>"}],"custom_properties":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f3987e9e-8c0f-4bf2-b4d8-e7299a7ecc35":{"description":"Order successfully created. No content returned.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"58605694-8055-48c3-a9c4-f9f42eeddbca":{"description":"Invalid order payload received. `message` carries the reason returned by the order system.","content":{"application/json":{"schema":{"type":"object","description":"The body returned for Direct API errors.","properties":{"message":{"type":"string","description":"A description of what went wrong.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"statusCode":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"error":{"type":"string","description":"The HTTP status text. Omitted when `message` is the status text itself, such as `Forbidden`.","uniqueKey":"error","typeLabel":"string"}},"required":["message","statusCode"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","statusCode":123,"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b67a335f-d922-4dff-9685-88b8a1a64b89":{"description":"The API key is missing, invalid or inactive.","content":{"application/json":{"schema":{"type":"object","description":"The body returned for Direct API errors.","properties":{"message":{"type":"string","description":"A description of what went wrong.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"statusCode":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"error":{"type":"string","description":"The HTTP status text. Omitted when `message` is the status text itself, such as `Forbidden`.","uniqueKey":"error","typeLabel":"string"}},"required":["message","statusCode"],"uniqueKey":"","typeLabel":"object"},"examples":{"missingApiKey":{"title":"missingApiKey","value":{"message":"API key required in header: x-openborder-direct-api-key","error":"Unauthorized","statusCode":401}},"invalidApiKey":{"title":"invalidApiKey","value":{"message":"Invalid or inactive API key","error":"Unauthorized","statusCode":401}}},"exampleType":"examples"}},"exampleType":"examples"},"6d419ac3-d395-4a42-95b5-58e5c588602e":{"description":"The API key is valid but the brand it belongs to is not active.","content":{"application/json":{"schema":{"type":"object","description":"The body returned for Direct API errors.","properties":{"message":{"type":"string","description":"A description of what went wrong.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"statusCode":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"error":{"type":"string","description":"The HTTP status text. Omitted when `message` is the status text itself, such as `Forbidden`.","uniqueKey":"error","typeLabel":"string"}},"required":["message","statusCode"],"uniqueKey":"","typeLabel":"object"},"example":{"message":"Forbidden","statusCode":403},"examples":{"Example":{"title":"Example","value":{"message":"Forbidden","statusCode":403}}},"exampleType":"examples"}},"exampleType":"examples"},"dee3a5f5-36a8-43df-a67e-82457c283371":{"description":"Order data failed validation rules.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A summary of the error.","example":"Request payload validation error","uniqueKey":"message","typeLabel":"string"},"error":{"description":"Validation errors","type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"Field name","example":"ship_from","isRequired":true,"uniqueKey":"error.items.[INDEX].field","typeLabel":"string"},"error":{"type":"string","description":"Error message","example":"Name is required","isRequired":true,"uniqueKey":"error.items.[INDEX].error","typeLabel":"string"}},"required":["field","error"],"uniqueKey":"error.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error","typeLabel":"object[]"},"statusCode":{"type":"integer","description":"The HTTP status code.","example":422,"uniqueKey":"statusCode","typeLabel":"integer"}},"description":"The body returned when the request payload fails validation.","uniqueKey":"","typeLabel":"object"},"example":{"message":"Request payload validation error","error":[{"field":"ship_to.country_code","error":"country_code must be uppercase, country_code should not be empty, country_code must be shorter than or equal to 2 characters, country_code must be a string"}],"statusCode":422},"examples":{"Example":{"title":"Example","value":{"message":"Request payload validation error","error":[{"field":"ship_to.country_code","error":"country_code must be uppercase, country_code should not be empty, country_code must be shorter than or equal to 2 characters, country_code must be a string"}],"statusCode":422}}},"exampleType":"examples"}},"exampleType":"examples"},"c16847b4-6848-4e84-b35b-61aa4f96ecf0":{"description":"More than the per-minute request limit was sent with this API key (100 by default). The body is plain text.","content":{"text/plain":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"example":"Too many requests received from this API key, please try again after 1 minute","examples":{"Example":{"title":"Example","value":"Too many requests received from this API key, please try again after 1 minute"}},"exampleType":"examples"}},"exampleType":"examples"},"80eb069e-af32-47a0-89dd-a4eeb8b40d56":{"description":"An unexpected error occurred.","content":{"application/json":{"schema":{"type":"object","description":"The body returned for Direct API errors.","properties":{"message":{"type":"string","description":"A description of what went wrong.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"statusCode":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"error":{"type":"string","description":"The HTTP status text. Omitted when `message` is the status text itself, such as `Forbidden`.","uniqueKey":"error","typeLabel":"string"}},"required":["message","statusCode"],"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":500,"message":"Internal server error"},"examples":{"Example":{"title":"Example","value":{"statusCode":500,"message":"Internal server error"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"eed9f8e2-78a0-44e9-9900-cdc72222afb4":{"url":"https://api.openborder.com/api/direct/","description":"Production"},"b9ddf667-3f0b-49bc-93d7-faff79974329":{"url":"https://api.staging.openborder.com/api/direct/","description":"Sandbox"}}},"originalFileLocation":"api-reference/landed-cost.json"},"subdomain":"openborder-2b51b6dd","siteName":"OpenBorder API Documentation","title":"Submit a new order - OpenBorder API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T16:10:25.177Z","originalFileLocation":"api-reference/orders/submit-a-new-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"## What this endpoint does This endpoint creates a final order in OpenBorder’s Order Management System (OMS) once your customer has selected their shipping option and agreed to the calculated landed cost. This call ensures the order is registered in OpenBorder’s OMS so we can: - Record the exact duties \u0026amp; taxes to be remitted to authorities - Guarantee the correct shipping rate is linked to the shipment - Generate accurate billing and settlement for your international shipments\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenBorder API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openborder-2b51b6dd/3hdiynWgMBovETCn/_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/openborder-2b51b6dd/3hdiynWgMBovETCn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openborder-2b51b6dd/3hdiynWgMBovETCn/_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/openborder-2b51b6dd/3hdiynWgMBovETCn/_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/openborder-2b51b6dd/3hdiynWgMBovETCn/_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/openborder-2b51b6dd/3hdiynWgMBovETCn/_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/openborder-2b51b6dd/3hdiynWgMBovETCn/_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/openborder-2b51b6dd/3hdiynWgMBovETCn/_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/openborder-2b51b6dd/3hdiynWgMBovETCn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Submit a new order - OpenBorder API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"## What this endpoint does This endpoint creates a final order in OpenBorder’s Order Management System (OMS) once your customer has selected their shipping option and agreed to the calculated landed cost. This call ensures the order is registered in OpenBorder’s OMS so we can: - Record the exact duties \u0026amp; taxes to be remitted to authorities - Guarantee the correct shipping rate is linked to the shipment - Generate accurate billing and settlement for your international shipments\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenBorder API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.openborder.com/api-reference/orders/submit-a-new-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openborder-2b51b6dd.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Submit+a+new+order\u0026amp;description=%23%23+What+this+endpoint+does%0AThis+endpoint+**creates+a+final+order+in+OpenBorder%E2%80%99s+Order+Management+System+%28OMS%29**+once+your+customer+has+**selected+their+shippin\u0026amp;theme=ceaa7336a9dd6f17f8756e7f\u0026amp;signature=db1bbc7e18c0e3ee56f68d8e2d50e9b0bb3a06c2a3f2033b3bfc632e028ff15a\">\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=\"Submit a new order - OpenBorder API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"## What this endpoint does This endpoint creates a final order in OpenBorder’s Order Management System (OMS) once your customer has selected their shipping option and agreed to the calculated landed cost. This call ensures the order is registered in OpenBorder’s OMS so we can: - Record the exact duties \u0026amp; taxes to be remitted to authorities - Guarantee the correct shipping rate is linked to the shipment - Generate accurate billing and settlement for your international shipments\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openborder-2b51b6dd.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Submit+a+new+order\u0026amp;description=%23%23+What+this+endpoint+does%0AThis+endpoint+**creates+a+final+order+in+OpenBorder%E2%80%99s+Order+Management+System+%28OMS%29**+once+your+customer+has+**selected+their+shippin\u0026amp;theme=ceaa7336a9dd6f17f8756e7f\u0026amp;signature=db1bbc7e18c0e3ee56f68d8e2d50e9b0bb3a06c2a3f2033b3bfc632e028ff15a\">\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/openborder-2b51b6dd/3hdiynWgMBovETCn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenBorder API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0540f4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.openborder.com/api-reference/orders/submit-a-new-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/orders/submit-a-new-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.openborder.com/#organization\",\"name\":\"OpenBorder API Documentation\",\"url\":\"https://developers.openborder.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openborder-2b51b6dd/S0NizTekLQ6ttVRZ/images/Logo-48px.png?fit=max\u0026auto=format\u0026n=S0NizTekLQ6ttVRZ\u0026q=85\u0026s=bce3b91de865573b8550ef923ea21b25\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.openborder.com#website\",\"name\":\"OpenBorder API Documentation\",\"url\":\"https://developers.openborder.com\",\"publisher\":{\"@id\":\"https://developers.openborder.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.openborder.com/api-reference/orders/submit-a-new-order#webpage\",\"url\":\"https://developers.openborder.com/api-reference/orders/submit-a-new-order\",\"name\":\"Submit a new order\",\"description\":\"## What this endpoint does This endpoint creates a final order in OpenBorder’s Order Management System (OMS) once your customer has selected their shipping option and agreed to the calculated landed cost. This call ensures the order is registered in OpenBorder’s OMS so we can: - Record the exact duties \u0026 taxes to be remitted to authorities - Guarantee the correct shipping rate is linked to the shipment - Generate accurate billing and settlement for your international shipments\",\"dateModified\":\"2026-11-06T16:10:25.177Z\",\"isPartOf\":{\"@id\":\"https://developers.openborder.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.openborder.com/api-reference/orders/submit-a-new-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.openborder.com/api-reference/orders/submit-a-new-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OpenBorder API Documentation\",\"item\":\"https://developers.openborder.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Submit a new order\",\"item\":\"https://developers.openborder.com/api-reference/orders/submit-a-new-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.openborder.com/api-reference/orders/submit-a-new-order#apireference\",\"headline\":\"Submit a new order\",\"name\":\"Submit a new order\",\"description\":\"## What this endpoint does This endpoint creates a final order in OpenBorder’s Order Management System (OMS) once your customer has selected their shipping option and agreed to the calculated landed cost. This call ensures the order is registered in OpenBorder’s OMS so we can: - Record the exact duties \u0026 taxes to be remitted to authorities - Guarantee the correct shipping rate is linked to the shipment - Generate accurate billing and settlement for your international shipments\",\"url\":\"https://developers.openborder.com/api-reference/orders/submit-a-new-order\",\"mainEntityOfPage\":{\"@id\":\"https://developers.openborder.com/api-reference/orders/submit-a-new-order#webpage\"},\"dateModified\":\"2026-11-06T16:10:25.177Z\",\"publisher\":{\"@id\":\"https://developers.openborder.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.openborder.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenBorder API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenBorder API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/orders/submit-a-new-order.md","siteName":"OpenBorder API Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Shipping Labels","pages":[{"title":"Get Label","deprecated":null,"version":null,"openapi":"/api-reference/shipping-labels.yaml post /api/post/fc/labels","href":"/api-reference/shipping-labels/get-label"}]},{"group":"Landed Cost","pages":[{"title":"Calculate Landed Cost\n","deprecated":null,"version":null,"openapi":"/api-reference/landed-cost.json post /v1/landed-cost","href":"/api-reference/landed-cost/calculate-landed-cost"},{"title":"Retrieve Landed Cost Calculation\n\n","description":"## What this endpoint does\nThis **GET** endpoint lets your merchants **retrieve the full landed cost calculation** for a specific request using its unique `landedcost_request_id`.\n\nUse this to retrieve the exact landed cost breakdown for a transaction, including all itemized taxes, duties, and jurisdiction details by passing the `landedcost_request_id` that was returned by the Calculate landed cost endpoint.\n\nThis ensures you can:\n- Safely replay results for auditing or compliance.\n- Display the same landed cost breakdown to the customer, even if they return to checkout later.","deprecated":null,"version":null,"openapi":"/api-reference/landed-cost.json get /v1/landed-cost/{landedcost_request_id}","href":"/api-reference/landed-cost/retrieve-landed-cost-calculation"}]},{"group":"Orders","pages":[{"title":"Submit a new order","deprecated":null,"version":null,"openapi":"/api-reference/landed-cost.json post /v1/orders","href":"/api-reference/orders/submit-a-new-order"},{"title":"Update an order","description":"## What this endpoint does\nUse this endpoint to update a previously submitted order. Order will be matched by the `source_reference` field.\n\nSupported updates may include order and shipment status changes, shipment product changes (for example refunds, product changes or new shipments added), or corrections to customer addresses.","deprecated":null,"version":null,"openapi":"/api-reference/landed-cost.json put /v1/orders","href":"/api-reference/orders/update-an-order"}]},{"group":"Label Compliance","pages":[{"title":"Label Compliance","deprecated":null,"version":null,"openapi":"/api-reference/label-compliance.yaml post /api/v1/{partnerId}/label-compliance","href":"/api-reference/label-compliance/label-compliance"}]},{"group":"Tracking","pages":[{"title":"Get tracking","deprecated":null,"version":null,"openapi":"/api-reference/tracking.json get /api/v1/tracking/{tracking_code}","href":"/api-reference/tracking/get-the-tracking-events-of-one-shipment-by-openborder-label-or-carrier-tracking-code"},{"title":"Batch tracking lookup","deprecated":null,"version":null,"openapi":"/api-reference/tracking.json post /api/v1/tracking/lookup","href":"/api-reference/tracking/get-the-tracking-events-of-several-shipments-in-one-call"},{"title":"Get API key details","deprecated":null,"version":null,"openapi":"/api-reference/tracking.json get /api/v1/me","href":"/api-reference/api-key/what-this-api-key-is-and-which-brands-it-covers"}]}]}]},"basePath":"","title":"Submit a new order - OpenBorder API Documentation","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C4GwDT3_.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}