Replacement shipping method code; if empty, the original service level is used.
Response
200 - application/json
Replacement order created successfully.
Response to a successful CreateOrder call. No response field table is documented on the page — top-level fields are modeled from the response JSON example; nested objects are typed where their structure is evident.
Documents generated for the order (e.g. VAT invoice).
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Global-e Docs","colors":{"primary":"#F15A2B","light":"#F57C00","dark":"#C2451F"},"logo":{"light":"https://mintcdn.com/globale-enterprise/xvASI8IP64Cj0kr_/logo/light.png?fit=max\u0026auto=format\u0026n=xvASI8IP64Cj0kr_\u0026q=85\u0026s=3b5849fa849995b81b219c94b874d44f","dark":"https://mintcdn.com/globale-enterprise/xvASI8IP64Cj0kr_/logo/dark.png?fit=max\u0026auto=format\u0026n=xvASI8IP64Cj0kr_\u0026q=85\u0026s=4b3c45ba5ba14d2aadb54b500e20183c","href":"/introduction"},"favicon":"https://mintcdn.com/globale-enterprise/tw35F3WiyJ8sxtxX/favicon.png?fit=max\u0026auto=format\u0026n=tw35F3WiyJ8sxtxX\u0026q=85\u0026s=261a34ff25dc6eee4c7acf742bba08b5","api":{"playground":{"display":"simple"}},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://status.global-e.com/","label":"Status Page"},{"href":"https://trustcenter.global-e.com","label":"Trust Center"},{"href":"/contact-us","label":"Escalating a Ticket"}]},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":[],"display":"header"},"interaction":{"drilldown":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"globale-enterprise","hasAudioNarration":false,"actualSubdomain":"globale-enterprise","customDomains":["docs.global-e.com"],"gitSource":{"type":"gitlab","owner":"global-e/product","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"enterprise","isPrivate":true,"projectId":84016925,"mountPath":"","label":""},"chroma":{"collectionId":"512fb028-3e65-4b3e-a3cf-b3550e4b3bb3","liveDeploymentHistoryId":"6ae36b0095eb8a3e5a09981b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae36b0095eb8a3e5a09981b"},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae36b0095eb8a3e5a09981b","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Documentation","count":477},{"language":"default","tag":"Topics","count":477},{"language":"default","tag":"eCommerce Integration","count":182},{"language":"default","tag":"API Reference","count":80},{"language":"default","tag":"Global-e: The Basics","count":74},{"language":"default","tag":"SDK and API","count":53},{"language":"default","tag":"SFCC","count":48},{"language":"default","tag":"Merchant Portal","count":44},{"language":"default","tag":"New Returns Portal for All Platforms (Excluding Shopify)","count":44},{"language":"default","tag":"New Returns Portal for Shopify","count":38}],"searchSettings":{"maxResults":15}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/globale-enterprise/bdd88c3538cea5b1/style.css"}],"page":{"pagePath":"api-reference/create-order","slug":"/api-reference/create-order","pageMetadata":{"contextual":{"options":[{"title":"View YAML","description":"Open the OpenAPI spec for this endpoint","icon":"file-code","href":"/api-reference/specs/createorder.yaml"},"download-spec","copy","view","chatgpt","claude"]},"title":"Create order (Merchant to Global-e)","sidebarTitle":"Create order","description":"The CreateOrder API is used to create a replacement order in Global-e.","openapi":"api-reference/specs/createorder.yaml POST /checkout/CreateOrder","href":"/api-reference/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: \"The CreateOrder API is used to create a replacement order in Global-e.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsx(Note,{children:_jsxs(_components.p,{children:[`Part of the `,_jsx(_components.a,{href:`/createorder`,children:`Replacement Orders`}),` integration guide — see it for when and how to use this endpoint.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"contextual":{"options":[{"title":"View YAML","description":"Open the OpenAPI spec for this endpoint","icon":"file-code","href":"/api-reference/specs/createorder.yaml"},"download-spec","copy","view","chatgpt","claude"]},"title":"Create order (Merchant to Global-e)","sidebarTitle":"Create order","description":"The CreateOrder API is used to create a replacement order in Global-e.","openapi":"api-reference/specs/createorder.yaml POST /checkout/CreateOrder","href":"/api-reference/create-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/globale-enterprise/3a1555eec05adf43/feedback-link.js","/_mintlify/custom/globale-enterprise/07a4be9d6ed97624/footer-legal.js","/_mintlify/custom/globale-enterprise/49711f0bc5d1b97e/country-table.js","/_mintlify/custom/globale-enterprise/d9fcdd3337ee5e98/assistant-open-full.js"],"openApiReferenceData":{"operation":{"summary":"Create a replacement order","description":"The CreateOrder API is used to create a replacement order in Global-e.","operationId":"createOrder","tags":["CreateOrder"],"requestBody":"3ca5b6de-0043-49a2-9488-c2f00c70111b","responses":{"200":"04a93ce1-4168-4a77-9763-ce75ca440aef"},"method":"post","type":"path","servers":["94b43bb4-6ce7-4540-9516-7c5c5dad0b67"],"security":[],"path":"/checkout/CreateOrder","baseUrlOptions":["https://{globale_api_domain}"],"title":"Create a replacement order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"SendOrderData","required":["CartData","OrderReplacement"],"properties":{"CartData":{"type":"object","title":"SendCartData","required":["Name","Products"],"properties":{"Name":{"type":"string","description":"Product name (minimum 1 character).","isRequired":true,"uniqueKey":"CartData.Name","typeLabel":"string"},"Products":{"type":"array","description":"List of Product objects. Full Product schema at https://docs.global-e.com/enterprise/en/endpoints.html#product-261905","items":{"type":"object","title":"Product","description":"Product object. The fields below are those used in the CreateOrder request example. Full Product schema: https://docs.global-e.com/enterprise/en/endpoints.html#product-261905","properties":{"ProductCode":{"type":"string","description":"SKU code used to identify the product on the Merchant's site.","uniqueKey":"CartData.Products.items.[INDEX].ProductCode","typeLabel":"string"},"IsFixedPrice":{"type":"boolean","description":"Indicates if the product's price is fixed by the Merchant.","uniqueKey":"CartData.Products.items.[INDEX].IsFixedPrice","typeLabel":"boolean"},"OrderedQuantity":{"type":"number","format":"decimal","description":"Ordered quantity for the product.","uniqueKey":"CartData.Products.items.[INDEX].OrderedQuantity","typeLabel":"number\u003cdecimal>"},"SalePrice":{"type":"string","description":"Product sale price as displayed to the customer, after applying country coefficient and FX conversion.","uniqueKey":"CartData.Products.items.[INDEX].SalePrice","typeLabel":"string"},"CartItemId":{"type":"string","description":"Identifier of the cart item on the Merchant's site.","uniqueKey":"CartData.Products.items.[INDEX].CartItemId","typeLabel":"string"},"ParentCartItemId":{"type":"string","description":"Identifier of the current item's parent cart item on the Merchant's site.","uniqueKey":"CartData.Products.items.[INDEX].ParentCartItemId","typeLabel":"string"}},"uniqueKey":"CartData.Products.items.[INDEX]","typeLabel":"Product · object"},"isRequired":true,"uniqueKey":"CartData.Products","typeLabel":"Product · object[]"},"Discounts":{"oneOf":[{"type":"array","description":"List of applicable discounts (cart, shipping, etc.).","items":{"type":"object","title":"Discount","required":["DiscountType","DiscountValue","Name"],"properties":{"DiscountType":{"type":"number","format":"decimal","description":"Discount type: 1 = Cart discount, 2 = Shipping discount, 3 = Loyalty points discount, 4 = Duties discount, 5 = Checkout Loyalty Points Discount, 6 = Payment Charge.","isRequired":true,"uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].DiscountType","typeLabel":"number\u003cdecimal>"},"DiscountValue":{"type":"number","format":"decimal","description":"Discount value post-FX and country coefficient.","isRequired":true,"uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].DiscountValue","typeLabel":"number\u003cdecimal>"},"Name":{"type":"string","description":"Discount name.","isRequired":true,"uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].Name","typeLabel":"string"},"CouponCode":{"oneOf":[{"type":"string","description":"Merchant coupon code for coupon-based discounts.","uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].CouponCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Merchant coupon code for coupon-based discounts.","uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].CouponCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].CouponCode","typeLabel":"string | null"},"Description":{"type":"string","description":"Textual discount description.","uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].Description","typeLabel":"string"},"DiscountCode":{"type":"string","description":"Discount identifier on the Merchant's site.","uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].DiscountCode","typeLabel":"string"},"LoyaltyVoucherCode":{"oneOf":[{"type":"string","description":"Code identifying a Loyalty Voucher.","uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].LoyaltyVoucherCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code identifying a Loyalty Voucher.","uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].LoyaltyVoucherCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].LoyaltyVoucherCode","typeLabel":"string | null"},"ProductCartItemId":{"oneOf":[{"type":"string","description":"Related product cart item identifier.","uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].ProductCartItemId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Related product cart item identifier.","uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].ProductCartItemId.oneOf.1","typeLabel":"null"}],"uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX].ProductCartItemId","typeLabel":"string | null"}},"uniqueKey":"CartData.Discounts.oneOf.0.items.[INDEX]","typeLabel":"Discount · object"},"uniqueKey":"CartData.Discounts.oneOf.0","typeLabel":"Discount · object[]"},{"type":"null","description":"List of applicable discounts (cart, shipping, etc.).","items":{"type":"object","title":"Discount","required":["DiscountType","DiscountValue","Name"],"properties":{"CouponCode":{"oneOf":[{"type":"string","description":"Merchant coupon code for coupon-based discounts."},{"type":"null","description":"Merchant coupon code for coupon-based discounts."}]},"Description":{"type":"string","description":"Textual discount description."},"DiscountCode":{"type":"string","description":"Discount identifier on the Merchant's site."},"DiscountType":{"type":"number","format":"decimal","description":"Discount type: 1 = Cart discount, 2 = Shipping discount, 3 = Loyalty points discount, 4 = Duties discount, 5 = Checkout Loyalty Points Discount, 6 = Payment Charge."},"DiscountValue":{"type":"number","format":"decimal","description":"Discount value post-FX and country coefficient."},"LoyaltyVoucherCode":{"oneOf":[{"type":"string","description":"Code identifying a Loyalty Voucher."},{"type":"null","description":"Code identifying a Loyalty Voucher."}]},"Name":{"type":"string","description":"Discount name."},"ProductCartItemId":{"oneOf":[{"type":"string","description":"Related product cart item identifier."},{"type":"null","description":"Related product cart item identifier."}]}}},"uniqueKey":"CartData.Discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"CartData.Discounts","typeLabel":"Discount · object[] | null"},"HubCountryCode":{"type":"string","description":"2-character ISO country code for hub selection.","uniqueKey":"CartData.HubCountryCode","typeLabel":"string"},"HubId":{"type":"number","format":"decimal","description":"Global-e Local Hub identifier from ActiveHubDetails.","uniqueKey":"CartData.HubId","typeLabel":"number\u003cdecimal>"},"MerchantOrderId":{"type":"string","description":"Unique Merchant order identifier.","uniqueKey":"CartData.MerchantOrderId","typeLabel":"string"},"MerchantPriceForDuties":{"type":"string","description":"Amended Merchant price for duties/customs declaration.","uniqueKey":"CartData.MerchantPriceForDuties","typeLabel":"string"},"OriginalMerchantPriceForDuties":{"type":"string","description":"Original Merchant price for duties/customs declaration.","uniqueKey":"CartData.OriginalMerchantPriceForDuties","typeLabel":"string"},"UrlParameters":{"type":"string","description":"JSON-serialized KeyValuePairs for Merchant RESTful API URLs.","uniqueKey":"CartData.UrlParameters","typeLabel":"string"},"UserDetails":{"type":"object","title":"CartUserDetails","properties":{"AddressDetails":{"oneOf":[{"type":"array","description":"All available addresses from the customer's address book or replacement addresses.","items":{"type":"object","uniqueKey":"CartData.UserDetails.AddressDetails.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"CartData.UserDetails.AddressDetails.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"All available addresses from the customer's address book or replacement addresses.","items":{"type":"object"},"uniqueKey":"CartData.UserDetails.AddressDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"CartData.UserDetails.AddressDetails","typeLabel":"object[] | null"},"UserId":{"type":"string","description":"Internal User identifier on the Merchant's site.","uniqueKey":"CartData.UserDetails.UserId","typeLabel":"string"}},"description":"User details including addresses.","uniqueKey":"CartData.UserDetails","typeLabel":"CartUserDetails · object"},"WebStoreCode":{"type":"string","description":"Code identifying web store (for multi-store setup).","uniqueKey":"CartData.WebStoreCode","typeLabel":"string"},"WebStoreInstanceCode":{"type":"string","description":"Code identifying web store instance (for multi-domain setup).","uniqueKey":"CartData.WebStoreInstanceCode","typeLabel":"string"}},"description":"Cart data for the new replacement order creation.","isRequired":true,"uniqueKey":"CartData","typeLabel":"SendCartData · object"},"OrderReplacement":{"type":"object","title":"OrderReplacementData","required":["OriginalOrderId","ReplacedProducts"],"properties":{"OriginalOrderId":{"type":"string","description":"Original Order ID.","isRequired":true,"uniqueKey":"OrderReplacement.OriginalOrderId","typeLabel":"string"},"ReplacedProducts":{"type":"array","description":"List of replaced products.","items":{"type":"object","title":"ReplacedProduct","required":["Quantity"],"properties":{"Quantity":{"type":"number","format":"decimal","description":"Item quantity.","isRequired":true,"uniqueKey":"OrderReplacement.ReplacedProducts.items.[INDEX].Quantity","typeLabel":"number\u003cdecimal>"},"CartItemId":{"type":"string","description":"Cart item ID.","uniqueKey":"OrderReplacement.ReplacedProducts.items.[INDEX].CartItemId","typeLabel":"string"},"SKU":{"type":"string","description":"SKU of the product if cart item ID is not available.","uniqueKey":"OrderReplacement.ReplacedProducts.items.[INDEX].SKU","typeLabel":"string"}},"uniqueKey":"OrderReplacement.ReplacedProducts.items.[INDEX]","typeLabel":"ReplacedProduct · object"},"isRequired":true,"uniqueKey":"OrderReplacement.ReplacedProducts","typeLabel":"ReplacedProduct · object[]"},"OrderReplacementType":{"type":"number","format":"decimal","description":"1 = Repair Service; 0 = Regular replacement (default).","uniqueKey":"OrderReplacement.OrderReplacementType","typeLabel":"number\u003cdecimal>"}},"description":"Replaced order and product information.","isRequired":true,"uniqueKey":"OrderReplacement","typeLabel":"OrderReplacementData · object"},"ShippingMethodCode":{"type":"string","description":"Replacement shipping method code; if empty, the original service level is used.","uniqueKey":"ShippingMethodCode","typeLabel":"string"}},"uniqueKey":"","typeLabel":"SendOrderData · object"},"example":{"orderReplacement":{"replacedProducts":[{"quantity":1,"cartItemId":"1"}],"originalOrderId":"GE10097473894NL"},"cartData":{"products":[{"productCode":"460011778068","isFixedPrice":true,"orderedQuantity":1,"salePrice":"17.90","cartItemId":"","parentCartItemId":"1"}],"userDetails":{"addressDetails":[{"email":"customer@example.com"}]},"discounts":[{"productCartItemId":"","discountType":1,"discountValue":1.79}],"shippingMethodCode":"","merchantOrderId":"Y73186844546755"}},"examples":{"Example":{"title":"Example","value":{"orderReplacement":{"replacedProducts":[{"quantity":1,"cartItemId":"1"}],"originalOrderId":"GE10097473894NL"},"cartData":{"products":[{"productCode":"460011778068","isFixedPrice":true,"orderedQuantity":1,"salePrice":"17.90","cartItemId":"","parentCartItemId":"1"}],"userDetails":{"addressDetails":[{"email":"customer@example.com"}]},"discounts":[{"productCartItemId":"","discountType":1,"discountValue":1.79}],"shippingMethodCode":"","merchantOrderId":"Y73186844546755"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"04a93ce1-4168-4a77-9763-ce75ca440aef":{"description":"Replacement order created successfully.","content":{"application/json":{"schema":{"type":"object","title":"CreateOrderResponse","description":"Response to a successful CreateOrder call. No response field table is documented on the page — top-level fields are modeled from the response JSON example; nested objects are typed where their structure is evident.","properties":{"OrderId":{"type":"string","description":"Global-e order identifier.","uniqueKey":"OrderId","typeLabel":"string"},"MerchantOrderId":{"type":"string","description":"Merchant order identifier.","uniqueKey":"MerchantOrderId","typeLabel":"string"},"MerchantInternalOrderId":{"oneOf":[{"type":"string","description":"Merchant internal order identifier.","uniqueKey":"MerchantInternalOrderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Merchant internal order identifier.","uniqueKey":"MerchantInternalOrderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"MerchantInternalOrderId","typeLabel":"string | null"},"IsReplacementOrder":{"type":"boolean","description":"Indicates this is a replacement order.","uniqueKey":"IsReplacementOrder","typeLabel":"boolean"},"OriginalOrder":{"type":"object","description":"The original order this replaces.","properties":{"OrderId":{"type":"string","uniqueKey":"OriginalOrder.OrderId","typeLabel":"string"},"MerchantOrderId":{"type":"string","uniqueKey":"OriginalOrder.MerchantOrderId","typeLabel":"string"},"MerchantInternalOrderId":{"oneOf":[{"type":"string","uniqueKey":"OriginalOrder.MerchantInternalOrderId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"OriginalOrder.MerchantInternalOrderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"OriginalOrder.MerchantInternalOrderId","typeLabel":"string | null"}},"uniqueKey":"OriginalOrder","typeLabel":"object"},"CurrencyCode":{"type":"string","description":"3-character ISO currency code.","uniqueKey":"CurrencyCode","typeLabel":"string"},"CurrencyName":{"type":"string","description":"Currency name.","uniqueKey":"CurrencyName","typeLabel":"string"},"Products":{"oneOf":[{"type":"array","description":"Products in the replacement order.","items":{"type":"object","uniqueKey":"Products.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"Products.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Products in the replacement order.","items":{"type":"object"},"uniqueKey":"Products.oneOf.1","typeLabel":"null"}],"uniqueKey":"Products","typeLabel":"object[] | null"},"Discounts":{"oneOf":[{"type":"array","description":"Discounts applied to the order.","items":{"type":"object","uniqueKey":"Discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"Discounts.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Discounts applied to the order.","items":{"type":"object"},"uniqueKey":"Discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"Discounts","typeLabel":"object[] | null"},"Markups":{"oneOf":[{"type":"array","description":"Markups applied to the order (e.g. replacement shipping discount).","items":{"type":"object","uniqueKey":"Markups.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"Markups.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Markups applied to the order (e.g. replacement shipping discount).","items":{"type":"object"},"uniqueKey":"Markups.oneOf.1","typeLabel":"null"}],"uniqueKey":"Markups","typeLabel":"object[] | null"},"IsFreeShipping":{"type":"boolean","description":"Indicates whether shipping is free for this order.","uniqueKey":"IsFreeShipping","typeLabel":"boolean"},"ShippingMethodCode":{"type":"string","description":"Shipping method code.","uniqueKey":"ShippingMethodCode","typeLabel":"string"},"HubId":{"oneOf":[{"type":"number","format":"decimal","description":"Global-e hub identifier.","uniqueKey":"HubId.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Global-e hub identifier.","uniqueKey":"HubId.oneOf.1","typeLabel":"null"}],"uniqueKey":"HubId","typeLabel":"number\u003cdecimal> | null"},"InternationalDetails":{"oneOf":[{"type":"object","description":"International shipping, payment, and tracking details.","properties":{"CurrencyCode":{"type":"string","uniqueKey":"InternationalDetails.oneOf.0.CurrencyCode","typeLabel":"string"},"TotalPrice":{"type":"number","format":"float","uniqueKey":"InternationalDetails.oneOf.0.TotalPrice","typeLabel":"number\u003cfloat>"},"TotalShippingPrice":{"type":"number","format":"float","uniqueKey":"InternationalDetails.oneOf.0.TotalShippingPrice","typeLabel":"number\u003cfloat>"},"ShippingMethodCode":{"type":"string","uniqueKey":"InternationalDetails.oneOf.0.ShippingMethodCode","typeLabel":"string"},"ShippingMethodName":{"type":"string","uniqueKey":"InternationalDetails.oneOf.0.ShippingMethodName","typeLabel":"string"},"PaymentMethodCode":{"type":"string","uniqueKey":"InternationalDetails.oneOf.0.PaymentMethodCode","typeLabel":"string"},"PaymentMethodName":{"type":"string","uniqueKey":"InternationalDetails.oneOf.0.PaymentMethodName","typeLabel":"string"},"DutiesGuaranteed":{"type":"boolean","uniqueKey":"InternationalDetails.oneOf.0.DutiesGuaranteed","typeLabel":"boolean"},"ShippingMethodTypeCode":{"type":"string","uniqueKey":"InternationalDetails.oneOf.0.ShippingMethodTypeCode","typeLabel":"string"},"ShippingMethodTypeName":{"type":"string","uniqueKey":"InternationalDetails.oneOf.0.ShippingMethodTypeName","typeLabel":"string"},"DeliveryDaysFrom":{"type":"integer","uniqueKey":"InternationalDetails.oneOf.0.DeliveryDaysFrom","typeLabel":"integer"},"DeliveryDaysTo":{"type":"integer","uniqueKey":"InternationalDetails.oneOf.0.DeliveryDaysTo","typeLabel":"integer"}},"uniqueKey":"InternationalDetails.oneOf.0","typeLabel":"object"},{"type":"null","description":"International shipping, payment, and tracking details.","properties":{"CurrencyCode":{"type":"string"},"TotalPrice":{"type":"number","format":"float"},"TotalShippingPrice":{"type":"number","format":"float"},"ShippingMethodCode":{"type":"string"},"ShippingMethodName":{"type":"string"},"PaymentMethodCode":{"type":"string"},"PaymentMethodName":{"type":"string"},"DutiesGuaranteed":{"type":"boolean"},"ShippingMethodTypeCode":{"type":"string"},"ShippingMethodTypeName":{"type":"string"},"DeliveryDaysFrom":{"type":"integer"},"DeliveryDaysTo":{"type":"integer"}},"uniqueKey":"InternationalDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"InternationalDetails","typeLabel":"object | null"},"OrderDocuments":{"oneOf":[{"type":"array","description":"Documents generated for the order (e.g. VAT invoice).","items":{"type":"object","properties":{"URL":{"type":"string","format":"uri","uniqueKey":"OrderDocuments.oneOf.0.items.[INDEX].URL","typeLabel":"string\u003curi>"},"DocumentTypeCode":{"type":"string","uniqueKey":"OrderDocuments.oneOf.0.items.[INDEX].DocumentTypeCode","typeLabel":"string"},"DocumentTypeName":{"type":"string","uniqueKey":"OrderDocuments.oneOf.0.items.[INDEX].DocumentTypeName","typeLabel":"string"},"DocumentExtension":{"type":"string","uniqueKey":"OrderDocuments.oneOf.0.items.[INDEX].DocumentExtension","typeLabel":"string"},"ErrorMessage":{"oneOf":[{"type":"string","uniqueKey":"OrderDocuments.oneOf.0.items.[INDEX].ErrorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"OrderDocuments.oneOf.0.items.[INDEX].ErrorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"OrderDocuments.oneOf.0.items.[INDEX].ErrorMessage","typeLabel":"string | null"}},"uniqueKey":"OrderDocuments.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"OrderDocuments.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Documents generated for the order (e.g. VAT invoice).","items":{"type":"object","properties":{"URL":{"type":"string","format":"uri"},"DocumentTypeCode":{"type":"string"},"DocumentTypeName":{"type":"string"},"DocumentExtension":{"type":"string"},"ErrorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]}}},"uniqueKey":"OrderDocuments.oneOf.1","typeLabel":"null"}],"uniqueKey":"OrderDocuments","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"CreateOrderResponse · object"},"example":{"OrderId":"GE10098224286NL","MerchantOrderId":"Y73186844546755","MerchantInternalOrderId":null,"IsReplacementOrder":true,"OriginalOrder":{"OrderId":"GE10097473894NL","MerchantOrderId":"EUQA1116048","MerchantInternalOrderId":"EUQA1116048"},"CurrencyCode":"EUR","CurrencyName":"Euro","IsFreeShipping":true,"ShippingMethodCode":"globaleintegration_standard","HubId":1001034,"InternationalDetails":{"CurrencyCode":"EUR","TotalPrice":16.11,"TotalShippingPrice":-19.9,"ShippingMethodCode":"GLOBALE","ShippingMethodName":"DHL api Express Worldwide","PaymentMethodCode":"39","PaymentMethodName":"CouponPayment","DutiesGuaranteed":false,"ShippingMethodTypeCode":"Standard","ShippingMethodTypeName":"Standard Courier","DeliveryDaysFrom":1,"DeliveryDaysTo":2},"OrderDocuments":[{"URL":"https://connect2.bglobale.com/Document/VATInvoice?documentParam=...","DocumentTypeCode":"5","DocumentTypeName":"VATInvoice","DocumentExtension":"pdf","ErrorMessage":null}]},"examples":{"Example":{"title":"Example","value":{"OrderId":"GE10098224286NL","MerchantOrderId":"Y73186844546755","MerchantInternalOrderId":null,"IsReplacementOrder":true,"OriginalOrder":{"OrderId":"GE10097473894NL","MerchantOrderId":"EUQA1116048","MerchantInternalOrderId":"EUQA1116048"},"CurrencyCode":"EUR","CurrencyName":"Euro","IsFreeShipping":true,"ShippingMethodCode":"globaleintegration_standard","HubId":1001034,"InternationalDetails":{"CurrencyCode":"EUR","TotalPrice":16.11,"TotalShippingPrice":-19.9,"ShippingMethodCode":"GLOBALE","ShippingMethodName":"DHL api Express Worldwide","PaymentMethodCode":"39","PaymentMethodName":"CouponPayment","DutiesGuaranteed":false,"ShippingMethodTypeCode":"Standard","ShippingMethodTypeName":"Standard Courier","DeliveryDaysFrom":1,"DeliveryDaysTo":2},"OrderDocuments":[{"URL":"https://connect2.bglobale.com/Document/VATInvoice?documentParam=...","DocumentTypeCode":"5","DocumentTypeName":"VATInvoice","DocumentExtension":"pdf","ErrorMessage":null}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"94b43bb4-6ce7-4540-9516-7c5c5dad0b67":{"url":"https://{globale_api_domain}","variables":{"globale_api_domain":{"default":"globale_api_domain","description":"Global-e API host, supplied to the merchant by Global-e."}}}}},"originalFileLocation":"api-reference/specs/createorder.yaml"},"subdomain":"globale-enterprise","siteName":"Global-e Docs","title":"Create order (Merchant to Global-e) - Global-e Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-27T11:31:48.588Z","originalFileLocation":"api-reference/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=\"The CreateOrder API is used to create a replacement order in Global-e.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Global-e Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_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/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_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/globale-enterprise/EOVvyAKmQUMv4BUM/_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/globale-enterprise/EOVvyAKmQUMv4BUM/_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/globale-enterprise/EOVvyAKmQUMv4BUM/_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/globale-enterprise/EOVvyAKmQUMv4BUM/_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/globale-enterprise/EOVvyAKmQUMv4BUM/_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/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create order (Merchant to Global-e) - Global-e Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"The CreateOrder API is used to create a replacement order in Global-e.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Global-e Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.global-e.com/api-reference/create-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://globale-enterprise.mintlify.app/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+order+%28Merchant+to+Global-e%29\u0026amp;description=The+CreateOrder+API+is+used+to+create+a+replacement+order+in+Global-e.\u0026amp;theme=ba448c405b24dd48494124de\u0026amp;signature=a5891496186fcd3e8eb5f530f17ef63d064eb1c7fe490997dc45e4fa3e0c7883\">\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 (Merchant to Global-e) - Global-e Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The CreateOrder API is used to create a replacement order in Global-e.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://globale-enterprise.mintlify.app/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+order+%28Merchant+to+Global-e%29\u0026amp;description=The+CreateOrder+API+is+used+to+create+a+replacement+order+in+Global-e.\u0026amp;theme=ba448c405b24dd48494124de\u0026amp;signature=a5891496186fcd3e8eb5f530f17ef63d064eb1c7fe490997dc45e4fa3e0c7883\">\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/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Global-e Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F15A2B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.global-e.com/api-reference/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/create-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.global-e.com/#organization\",\"name\":\"Global-e Docs\",\"url\":\"https://docs.global-e.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/globale-enterprise/xvASI8IP64Cj0kr_/logo/light.png?fit=max\u0026auto=format\u0026n=xvASI8IP64Cj0kr_\u0026q=85\u0026s=3b5849fa849995b81b219c94b874d44f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.global-e.com#website\",\"name\":\"Global-e Docs\",\"url\":\"https://docs.global-e.com\",\"publisher\":{\"@id\":\"https://docs.global-e.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.global-e.com/api-reference/create-order#webpage\",\"url\":\"https://docs.global-e.com/api-reference/create-order\",\"name\":\"Create order (Merchant to Global-e)\",\"description\":\"The CreateOrder API is used to create a replacement order in Global-e.\",\"dateModified\":\"2026-09-27T11:31:48.588Z\",\"isPartOf\":{\"@id\":\"https://docs.global-e.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.global-e.com/api-reference/create-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.global-e.com/api-reference/create-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Global-e Docs\",\"item\":\"https://docs.global-e.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create order (Merchant to Global-e)\",\"item\":\"https://docs.global-e.com/api-reference/create-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.global-e.com/api-reference/create-order#apireference\",\"headline\":\"Create order (Merchant to Global-e)\",\"name\":\"Create order (Merchant to Global-e)\",\"description\":\"The CreateOrder API is used to create a replacement order in Global-e.\",\"url\":\"https://docs.global-e.com/api-reference/create-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.global-e.com/api-reference/create-order#webpage\"},\"dateModified\":\"2026-09-27T11:31:48.588Z\",\"publisher\":{\"@id\":\"https://docs.global-e.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.global-e.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Global-e Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Global-e Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/global-e-enablement-platform"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/overview"},{"title":"API Authentication","href":"/api-authentication"}]},{"group":"Shipping","pages":[{"title":"Get shipping documents (Merchant to Global-e)","sidebarTitle":"Get shipping documents","openapi":"api-reference/specs/getshippingdocuments.yaml POST /Order/GetShippingDocuments","href":"/api-reference/get-shipping-documents"},{"title":"Get shipping details (Merchant to Global-e)","sidebarTitle":"Get shipping details","openapi":"api-reference/specs/getshippingdetails.yaml POST /ShippingDetails/GetShippingDetails","href":"/api-reference/get-shipping-details"},{"title":"Get shipping details extended (Merchant to Global-e)","sidebarTitle":"Get shipping details extended","openapi":"api-reference/specs/getshippingdetailsextended.yaml POST /ShippingDetails/GetShippingDetailsExtended","href":"/api-reference/get-shipping-details-extended"},{"title":"Dispatch orders (Merchant to Global-e)","sidebarTitle":"Dispatch orders","openapi":"api-reference/specs/dispatchorders.yaml POST /Order/DispatchOrders","href":"/api-reference/dispatch-orders"},{"title":"Dispatch consolidated shipment (Merchant to Global-e)","sidebarTitle":"Dispatch consolidated shipment","openapi":"api-reference/specs/dispatchconsolidatedshipment.yaml POST /Order/DispatchConsolidatedShipment","href":"/api-reference/dispatch-consolidated-shipment"},{"title":"Get tracking events (Merchant to Global-e)","sidebarTitle":"Get tracking events","openapi":"api-reference/specs/gettrackingevents.yaml POST /Shipment/GetTrackingEvents","href":"/api-reference/get-tracking-events"},{"title":"Void parcel (Merchant to Global-e)","sidebarTitle":"Void parcel","openapi":"api-reference/specs/voidparcel.yaml POST /Parcel/VoidParcel","href":"/api-reference/void-parcel"},{"title":"Submit bonded information (Merchant to Global-e)","sidebarTitle":"Submit bonded information","openapi":"api-reference/specs/submitbondedinformation.yaml POST /api/merchant/parcels/bonded-information","href":"/api-reference/submit-bonded-information"},{"title":"Upload shipment documents (Merchant to Global-e)","sidebarTitle":"Upload shipment documents","openapi":"api-reference/specs/uploadshipmentdocuments.yaml POST /api/shipments/documents/upload","href":"/api-reference/upload-shipment-documents"},{"title":"Get shipment information (Merchant to Global-e)","sidebarTitle":"Get shipment information","description":"Retrieve the product, weight, classification and customs-value data Global-e holds for a shipment, plus its export-declaration header, so you can prepare a customs export declaration.","openapi":"api-reference/specs/getshipmentinformation.yaml GET /api/shipments/{trackingNumber}","href":"/api-reference/get-shipment-information"}]},{"group":"Orders","pages":[{"title":"Create order (Merchant to Global-e)","sidebarTitle":"Create order","openapi":"api-reference/specs/createorder.yaml POST /checkout/CreateOrder","href":"/api-reference/create-order"},{"title":"Edit order (Merchant to Global-e)","sidebarTitle":"Edit order","description":"Apply changes to an existing Global-e order by adding, exchanging, or removing products.","openapi":"api-reference/specs/editorder.yaml POST /api/orders/changes","href":"/api-reference/edit-order"},{"title":"Quote order changes (Merchant to Global-e)","sidebarTitle":"Quote order changes","openapi":"api-reference/specs/editorder.yaml POST /api/orders/changes/quote","href":"/api-reference/edit-order-quote"},{"title":"Update Order Dispatch","openapi":"api-reference/specs/updateorderdispatch.yaml POST /Order/UpdateOrderDispatch","href":"/api-reference/update-order-dispatch"},{"title":"Update parcel status (Merchant to Global-e)","sidebarTitle":"Update parcel status","openapi":"api-reference/specs/updateparcelstatus.yaml POST /orders/{orderId}/parcels/{parcelCode}/statuses","href":"/api-reference/update-parcel-status"},{"title":"Update Order Status","openapi":"api-reference/specs/updateorderstatus.yaml POST /Order/UpdateOrderStatus","href":"/api-reference/update-order-status"},{"title":"Create order refund (Merchant to Global-e)","sidebarTitle":"Create order refund","openapi":"api-reference/specs/createorderrefund.yaml POST /Order/CreateOrderRefund","href":"/api-reference/create-order-refund"},{"title":"Create order platform (Merchant to Global-e)","sidebarTitle":"Create order platform","openapi":"api-reference/specs/createorderplatform.yaml POST /Checkout/CreateOrderPlatform","href":"/api-reference/create-order-platform"},{"title":"Update Order Products (Merchant to Global-e)","sidebarTitle":"Update Order Products","openapi":"api-reference/specs/updateorderproducts.yaml POST /Order/UpdateOrderProducts","href":"/api-reference/update-order-products"},{"title":"UpdateOrderDispatchV2","openapi":"api-reference/specs/updateorderdispatchv2.yaml POST /Order/UpdateOrderDispatchV2","href":"/api-reference/update-order-dispatch-v2"},{"title":"Create Additional Required Documents (Merchant to Global-e)","sidebarTitle":"Create Additional Required Documents","openapi":"api-reference/specs/createadditionalrequireddocuments.yaml POST /additional-required-documents","href":"/api-reference/create-additional-required-documents"},{"title":"Get refund details (Merchant to Global-e)","sidebarTitle":"Get refund details","openapi":"api-reference/specs/getrefunddetails.yaml GET /v1/orders/{orderId}/refunds","href":"/api-reference/get-refund-details"},{"title":"Sending Bulk Emails (Merchant to Global-e)","sidebarTitle":"Sending Bulk Emails","openapi":"api-reference/specs/sendbulkemails.yaml POST /emails","href":"/api-reference/send-bulk-emails"}]},{"group":"Returns","pages":[{"title":"Get return shipping options (Merchant to Global-e)","sidebarTitle":"Get return shipping options","openapi":"api-reference/specs/getreturnshippingoptions.yaml POST /Return/GetReturnShippingOptions","href":"/api-reference/get-return-shipping-options"},{"title":"Get return documents (Merchant to Global-e)","sidebarTitle":"Get return documents","openapi":"api-reference/specs/getreturndocuments.yaml POST /Return/GetReturnDocuments","href":"/api-reference/get-return-documents"},{"title":"Update RMA (Merchant to Global-e)","sidebarTitle":"Update RMA","openapi":"api-reference/specs/updaterma.yaml POST /Return/UpdateRMA","href":"/api-reference/update-rma"}]},{"group":"Gift Cards","pages":[{"title":"Validate gift card","openapi":"api-reference/specs/giftcards.yaml POST /ValidateGiftCard","href":"/api-reference/validate-gift-card"},{"title":"Redeem gift card","openapi":"api-reference/specs/giftcards.yaml POST /RedeemGiftCard","href":"/api-reference/redeem-gift-card"},{"title":"Refund gift card","openapi":"api-reference/specs/giftcards.yaml POST /RefundGiftCard","href":"/api-reference/refund-gift-card"}]},{"group":"Checkout","pages":[{"title":"SendCartV2 (Merchant to Global-e)","sidebarTitle":"SendCartV2","openapi":"api-reference/specs/sendcartv2.yaml POST /Checkout/SendCartV2","href":"/api-reference/send-cart-v2"}]},{"group":"Pricing","pages":[{"title":"Get catalog prices (Merchant to Global-e)","sidebarTitle":"Get catalog prices","openapi":"api-reference/specs/getcatalogprices.yaml POST /Browsing/GetCatalogPrices","href":"/api-reference/get-catalog-prices"},{"title":"GetMerchantPriceDetails (Merchant to Global-e)","sidebarTitle":"GetMerchantPriceDetails","openapi":"api-reference/specs/getmerchantpricedetails.yaml GET /externalapi/GetMerchantPriceDetails","href":"/api-reference/get-merchant-price-details"}]},{"group":"Browsing \u0026 Catalog","pages":[{"title":"Active hub details (Merchant to Global-e)","sidebarTitle":"Active hub details","openapi":"api-reference/specs/activehubdetails.yaml POST /Browsing/ActiveHubDetails","href":"/api-reference/active-hub-details"},{"title":"App settings (Merchant to Global-e)","sidebarTitle":"App settings","openapi":"api-reference/specs/appsettings.yaml POST /Browsing/AppSettings","href":"/api-reference/app-settings"},{"title":"App version (Merchant to Global-e)","sidebarTitle":"App version","openapi":"api-reference/specs/appversion.yaml POST /Browsing/AppVersion","href":"/api-reference/app-version"},{"title":"Countries (Merchant to Global-e)","sidebarTitle":"Countries","openapi":"api-reference/specs/countries.yaml POST /Browsing/Countries","href":"/api-reference/countries"},{"title":"Country coefficients (Merchant to Global-e)","sidebarTitle":"Country coefficients","openapi":"api-reference/specs/countrycoefficients.yaml POST /Browsing/CountryCoefficients","href":"/api-reference/country-coefficients"},{"title":"Currencies (Merchant to Global-e)","sidebarTitle":"Currencies","openapi":"api-reference/specs/currencies.yaml POST /Browsing/Currencies","href":"/api-reference/currencies"},{"title":"Currency Rates (Merchant to Global-e)","sidebarTitle":"Currency Rates","openapi":"api-reference/specs/currencyrates.yaml POST /Browsing/CurrencyRates","href":"/api-reference/currency-rates"},{"title":"Location by IP (Merchant to Global-e)","sidebarTitle":"Location by IP","openapi":"api-reference/specs/locationbyip.yaml POST /Browsing/LocationByIP","href":"/api-reference/location-by-ip"},{"title":"Location default culture (Merchant to Global-e)","sidebarTitle":"Location default culture","openapi":"api-reference/specs/locationdefaultculture.yaml POST /Browsing/LocationDefaultCulture","href":"/api-reference/location-default-culture"},{"title":"Locations Default Cultures List (Merchant to Global-e)","sidebarTitle":"Locations Default Cultures List","openapi":"api-reference/specs/locationsdefaultcultureslist.yaml POST /Browsing/LocationsDefaultCulturesList","href":"/api-reference/locations-default-cultures-list"},{"title":"Product Countries (Merchant to Global-e)","sidebarTitle":"Product Countries","openapi":"api-reference/specs/productcountries.yaml POST /Browsing/ProductCountryS","href":"/api-reference/product-countries"},{"title":"Recent Product Countries (Merchant to Global-e)","sidebarTitle":"Recent Product Countries","openapi":"api-reference/specs/recentproductcountries.yaml POST /Browsing/RecentProductCountryS","href":"/api-reference/recent-product-countries"},{"title":"Regions (Merchant to Global-e)","sidebarTitle":"Regions","openapi":"api-reference/specs/regions.yaml POST /Browsing/Regions","href":"/api-reference/regions"},{"title":"Rounding rules (Merchant to Global-e)","sidebarTitle":"Rounding rules","openapi":"api-reference/specs/roundingrules.yaml POST /Browsing/RoundingRules","href":"/api-reference/rounding-rules"},{"title":"Save products list (Merchant to Global-e)","sidebarTitle":"Save products list","openapi":"api-reference/specs/saveproductslist.yaml POST /Browsing/SaveProductsList","href":"/api-reference/save-products-list"},{"title":"Save Products Bulk (Merchant to Global-e)","sidebarTitle":"Save Products Bulk","openapi":"api-reference/specs/saveproductsbulk.yaml POST /Bulk/SaveProductsBulk","href":"/api-reference/save-products-bulk"},{"title":"Shipping Options (Merchant to Global-e)","sidebarTitle":"Shipping Options","openapi":"api-reference/specs/shippingoptions.yaml POST /Browsing/ShippingOptions","href":"/api-reference/shipping-options"},{"title":"VAT Category Countries (Merchant to Global-e)","sidebarTitle":"VAT Category Countries","openapi":"api-reference/specs/vatcategorycountries.yaml POST /Browsing/VATCategoryCountryS","href":"/api-reference/vat-category-countries"}]},{"group":"Subscriptions","pages":[{"title":"Get subscription and payment reference details (Merchant to Global-e)","sidebarTitle":"Get subscription and payment reference details","openapi":"api-reference/specs/getsubscriptionandpaymentreferencedetails.yaml GET /Payments/Subscriptions/{merchantGuid}","href":"/api-reference/get-subscription-and-payment-reference-details"},{"title":"Subscription notifications (Subscription Manager to Global-e)","sidebarTitle":"Subscription notifications","openapi":"api-reference/specs/subscriptionnotifications.yaml POST /subscriptions/notifications","href":"/api-reference/subscription-notifications"},{"title":"Calculate billing summary (Subscription Manager to Global-e)","sidebarTitle":"Calculate billing summary","openapi":"api-reference/specs/billingsummarycalculate.yaml POST /subscriptions/billing-summary/calculate","href":"/api-reference/calculate-billing-summary"},{"title":"Create recurring payment (Subscription Manager to Global-e)","sidebarTitle":"Create recurring payment","openapi":"api-reference/specs/recurringpayments.yaml POST /subscriptions/recurringPayments","href":"/api-reference/create-recurring-payment"},{"title":"Update a subscription (Subscription Manager to Global-e)","sidebarTitle":"Update a subscription","openapi":"api-reference/specs/updatesubscription.yaml PATCH /subscriptions/{subscriptionId}","href":"/api-reference/update-subscription"}]},{"group":"Webhooks","pages":[{"group":"Orders","pages":[{"title":"Send Order To Merchant (Global-e to Merchant)","sidebarTitle":"Send Order To Merchant","openapi":"api-reference/specs/sendordertomerchant.yaml POST /order-update-create-url","href":"/api-reference/send-order-to-merchant"},{"title":"Send additional required documents to merchant (Global-e to Merchant)","sidebarTitle":"Send additional required documents to merchant","openapi":"api-reference/specs/sendadditionalrequireddocumentstomerchant.yaml POST /send-additional-required-documents-url","href":"/api-reference/send-additional-required-documents-to-merchant"},{"title":"Notify order refund (Global-e to Merchant)","sidebarTitle":"Notify order refund","openapi":"api-reference/specs/notifyorderrefund.yaml POST /order-refund-url","href":"/api-reference/notify-order-refund"},{"title":"Update Order Shipping Info (Global-e to Merchant)","sidebarTitle":"Update Order Shipping Info","openapi":"api-reference/specs/updateordershippinginfo.yaml POST /order-shipping-info-update-only-url","href":"/api-reference/update-order-shipping-info"},{"title":"Update Order Status (Global-e to Merchant)","sidebarTitle":"Update Order Status","openapi":"api-reference/specs/updateorderstatusfromglobale.yaml POST /order-status-update-url","href":"/api-reference/update-order-status-from-globale"},{"title":"Send RMA Info to Merchant (Global-e to Merchant)","sidebarTitle":"Send RMA Info to Merchant","openapi":"api-reference/specs/sendrmainfomerchant.yaml POST /rma-info-to-merchant-url","href":"/api-reference/send-rma-info-merchant"},{"title":"Perform Order Payment (Global-e to Merchant)","sidebarTitle":"Perform Order Payment","openapi":"api-reference/specs/performorderpayment.yaml POST /order-payment-only-url","href":"/api-reference/perform-order-payment"}]},{"group":"Checkout \u0026 Cart","pages":[{"title":"Get Checkout Cart Info (Global-e to Merchant)","sidebarTitle":"Get Checkout Cart Info","openapi":"api-reference/specs/getcheckoutcartinfo.yaml GET /get-checkout-cart-info-url","href":"/api-reference/get-checkout-cart-info"},{"title":"Validate Stock (Global-e to Merchant)","sidebarTitle":"Validate Stock","openapi":"api-reference/specs/validatestock.yaml POST /checkout-validate-cart-stock-url","href":"/api-reference/validate-stock"},{"title":"ValidateVoucher (Global-e to Merchant)","sidebarTitle":"ValidateVoucher","openapi":"api-reference/specs/validatevoucher.yaml POST /checkout-validate-cart-voucher-url","href":"/api-reference/validate-voucher"},{"title":"Client apply loyalty vouchers (Global-e to Merchant)","sidebarTitle":"Client apply loyalty vouchers","openapi":"api-reference/specs/clientapplyloyaltyvouchers.yaml POST /ClientApplyLoyaltyVouchers","href":"/api-reference/client-apply-loyalty-vouchers"},{"title":"RemoveRestrictedProducts (Global-e to Merchant)","sidebarTitle":"RemoveRestrictedProducts","openapi":"api-reference/specs/removerestrictedproducts.yaml POST /remove-restricted-products-url","href":"/api-reference/remove-restricted-products"}]},{"group":"Fulfillment","pages":[{"title":"Update Parcel Dispatch","openapi":"api-reference/specs/updateparceldispatch.yaml POST /UpdateParcelDispatch","href":"/api-reference/update-parcel-dispatch"}]},{"group":"Subscriptions","pages":[{"title":"Recurring payment notifications (Global-e to Subscription Manager)","sidebarTitle":"Recurring payment notifications","openapi":"api-reference/specs/recurringpaymentnotifications.yaml POST /subscriptions/recurringPayments/notifications","href":"/api-reference/recurring-payment-notifications"}]}]},{"group":"Shared Objects","pages":[{"title":"Attributes","href":"/api-reference/objects/attributes"},{"title":"BillingDetails","href":"/api-reference/objects/billing-details"},{"title":"Brand","href":"/api-reference/objects/brand"},{"title":"Category","href":"/api-reference/objects/category"},{"title":"DiscountsList","href":"/api-reference/objects/discounts-list"},{"title":"Parcel","href":"/api-reference/objects/parcel"},{"title":"ShippingDetails","href":"/api-reference/objects/shipping-details"},{"title":"UserIdNumberType","href":"/api-reference/objects/user-id-number-type"},{"title":"VATRateType","href":"/api-reference/objects/vat-rate-type"}]}]}]},"basePath":"","title":"Create order (Merchant to Global-e) - Global-e Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}