This REST API calculates the total landed cost for shipping a cart of products internationally.
It determines all costs your customer will pay, including:
Duties
Import taxes
Other customs-related charges
Showing a fully landed cost upfront gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer Delivered Duty Paid (DDP) shipping.
When to Use This API
During checkout: Calculate the total landed cost in real-time when the user enters a shipping address.
In the shopping cart: Let shoppers see estimated import charges before they even reach checkout.
Before creating a draft order: Validate total shipping costs so your system can show an accurate final price, including duties and taxes.
Key business benefits
Eliminate unexpected customs charges that cause cart abandonment.
Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout.
Improve international conversion rates by being upfront about total cost.
Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill.
What this gives your merchants
One shipment → One or more ship-from → One or more shipping rates → Multiple items
The system returns duties, taxes, and fees* for each shipment and rate, so merchants can present accurate options at checkout.
How to ensure a guaranteed calculation
All required fields must be accurate.
Certain destination countries require Province/State and zip code to guarantee compliance.
If fields are missing, your calculation may be non-guaranteed and final charges could differ.
One or more shipments to calculate landed costs for. A shipment groups the items sent from a specific origin warehouse to the order's destination address.
The HS Code each product has been classified to. Availability Note: This field is conditionally populated in the response body. It will only be included if your merchant configuration requires the HS Code for proper processing (ex. international shipping or customs declaration). If the field is not required for your integration, a null value will be returned.
{"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/landed-cost/calculate-landed-cost","slug":"/api-reference/landed-cost/calculate-landed-cost","pageMetadata":{"title":"Calculate Landed Cost\n","description":"## What this endpoint does\nThis REST API calculates the **total landed cost** for shipping a cart of products internationally.\nIt determines **all costs your customer will pay**, including:\n\n- Duties\n- Import taxes\n- Other customs-related charges\n\nShowing a **fully landed cost upfront** gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer **Delivered Duty Paid (DDP)** shipping.\n\n## When to Use This API\n- **During checkout**: Calculate the total landed cost in real-time when the user enters a shipping address.\n- **In the shopping cart**: Let shoppers see estimated import charges before they even reach checkout.\n- **Before creating a draft order**: Validate total shipping costs so your system can show an accurate final price, including duties and taxes.\n\n## Key business benefits\n- Eliminate unexpected customs charges that cause cart abandonment.\n- Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout.\n- Improve international conversion rates by being upfront about total cost.\n- Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill.\n\n## What this gives your merchants\n- One shipment → One or more ship-from → One or more shipping rates → Multiple items\n- The system returns *duties, taxes, and fees** for each shipment and rate, so merchants can present accurate options at checkout.\n\n## How to ensure a guaranteed calculation\n- All required fields must be accurate.\n- Certain destination countries require **Province/State** and **zip code** to guarantee compliance.\n- If fields are missing, your calculation may be **non-guaranteed** and final charges could differ.\n","deprecated":null,"version":null,"openapi":"/api-reference/landed-cost.json post /v1/landed-cost","href":"/api-reference/landed-cost/calculate-landed-cost","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 em: \"em\",\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 REST API calculates the \", _jsx(_components.strong, {\n children: \"total landed cost\"\n }), \" for shipping a cart of products internationally.\\nIt determines \", _jsx(_components.strong, {\n children: \"all costs your customer will pay\"\n }), \", including:\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Duties\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Import taxes\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Other customs-related charges\"\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Showing a \", _jsx(_components.strong, {\n children: \"fully landed cost upfront\"\n }), \" gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer \", _jsx(_components.strong, {\n children: \"Delivered Duty Paid (DDP)\"\n }), \" shipping.\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"When to Use This API\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"During checkout\"\n }), \": Calculate the total landed cost in real-time when the user enters a shipping address.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"In the shopping cart\"\n }), \": Let shoppers see estimated import charges before they even reach checkout.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Before creating a draft order\"\n }), \": Validate total shipping costs so your system can show an accurate final price, including duties and taxes.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Key business benefits\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Eliminate unexpected customs charges that cause cart abandonment.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Improve international conversion rates by being upfront about total cost.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill.\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"What this gives your merchants\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"One shipment → One or more ship-from → One or more shipping rates → Multiple items\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"The system returns \", _jsx(_components.em, {\n children: \"duties, taxes, and fees\"\n }), \"* for each shipment and rate, so merchants can present accurate options at checkout.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"How to ensure a guaranteed calculation\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"All required fields must be accurate.\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Certain destination countries require \", _jsx(_components.strong, {\n children: \"Province/State\"\n }), \" and \", _jsx(_components.strong, {\n children: \"zip code\"\n }), \" to guarantee compliance.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"If fields are missing, your calculation may be \", _jsx(_components.strong, {\n children: \"non-guaranteed\"\n }), \" and final charges could differ.\"]\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":"Calculate Landed Cost\n","description":"## What this endpoint does\nThis REST API calculates the **total landed cost** for shipping a cart of products internationally.\nIt determines **all costs your customer will pay**, including:\n\n- Duties\n- Import taxes\n- Other customs-related charges\n\nShowing a **fully landed cost upfront** gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer **Delivered Duty Paid (DDP)** shipping.\n\n## When to Use This API\n- **During checkout**: Calculate the total landed cost in real-time when the user enters a shipping address.\n- **In the shopping cart**: Let shoppers see estimated import charges before they even reach checkout.\n- **Before creating a draft order**: Validate total shipping costs so your system can show an accurate final price, including duties and taxes.\n\n## Key business benefits\n- Eliminate unexpected customs charges that cause cart abandonment.\n- Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout.\n- Improve international conversion rates by being upfront about total cost.\n- Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill.\n\n## What this gives your merchants\n- One shipment → One or more ship-from → One or more shipping rates → Multiple items\n- The system returns *duties, taxes, and fees** for each shipment and rate, so merchants can present accurate options at checkout.\n\n## How to ensure a guaranteed calculation\n- All required fields must be accurate.\n- Certain destination countries require **Province/State** and **zip code** to guarantee compliance.\n- If fields are missing, your calculation may be **non-guaranteed** and final charges could differ.\n","deprecated":null,"version":null,"openapi":"/api-reference/landed-cost.json post /v1/landed-cost","href":"/api-reference/landed-cost/calculate-landed-cost","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"## What this endpoint does\nThis REST API calculates the **total landed cost** for shipping a cart of products internationally.\nIt determines **all costs your customer will pay**, including:\n\n- Duties\n- Import taxes\n- Other customs-related charges\n\nShowing a **fully landed cost upfront** gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer **Delivered Duty Paid (DDP)** shipping.\n\n## When to Use This API\n- **During checkout**: Calculate the total landed cost in real-time when the user enters a shipping address.\n- **In the shopping cart**: Let shoppers see estimated import charges before they even reach checkout.\n- **Before creating a draft order**: Validate total shipping costs so your system can show an accurate final price, including duties and taxes.\n\n## Key business benefits\n- Eliminate unexpected customs charges that cause cart abandonment.\n- Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout.\n- Improve international conversion rates by being upfront about total cost.\n- Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill.\n\n## What this gives your merchants\n- One shipment → One or more ship-from → One or more shipping rates → Multiple items\n- The system returns *duties, taxes, and fees** for each shipment and rate, so merchants can present accurate options at checkout.\n\n## How to ensure a guaranteed calculation\n- All required fields must be accurate.\n- Certain destination countries require **Province/State** and **zip code** to guarantee compliance.\n- If fields are missing, your calculation may be **non-guaranteed** and final charges could differ.\n","operationId":"CartController_calculateLandedCost","parameters":["14638560-e695-4c8c-821a-bcd2b03f0530"],"requestBody":"05f86324-3d85-4c8d-9e1e-f27d12ed584f","responses":{"200":"4dd54eb6-c4fa-43c7-90f5-fc468bb9ac8f","400":"c8c28ada-8728-49a9-8465-fd6e850df38f","401":"566c81bf-10b4-456f-ba0e-7eb92a019a98","403":"2e7fd374-02b4-4e2f-b23e-3569b13e6534","422":"3be07200-267b-47e6-912b-3132e33fc835","429":"5924df77-b1a0-4e22-868b-433ed41d34db","500":"b5af355c-098a-49a2-9b1d-fc3107ff4352"},"summary":"Calculate Landed Cost\n","tags":["Landed Cost"],"method":"post","type":"path","servers":["eed9f8e2-78a0-44e9-9900-cdc72222afb4","b9ddf667-3f0b-49bc-93d7-faff79974329"],"security":[],"path":"/v1/landed-cost","baseUrlOptions":["https://api.openborder.com/api/direct/","https://api.staging.openborder.com/api/direct/"],"title":"Calculate Landed Cost\n","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"14638560-e695-4c8c-821a-bcd2b03f0530":{"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,"description":"This API uses JSON.\n\nThe **required fields** ensure accurate and guaranteed landed cost calculations.\n\nAll keys below **must** be included for a guaranteed calculation.","content":{"application/json":{"schema":{"type":"object","properties":{"ship_to":{"type":"object","description":"Destination address.","required":["country_code"],"properties":{"country_code":{"type":"string","description":"The two-letter country code (ISO 3166-1 alpha-2) for the destination country (e.g. \"CA\" for Canada).\n\nImportant: For United States of America (US) and Canada (CA) the `province` and `postal_code` fields are required.","isRequired":true,"uniqueKey":"ship_to.country_code","typeLabel":"string"},"province":{"oneOf":[{"type":"string","description":"The state, province, or region within the destination country. Include this if your destination country has one (e.g.\"ON\" for Ontario).\n\nImportant: Required for United States of America (US) and Canada (CA).","uniqueKey":"ship_to.province.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state, province, or region within the destination country. Include this if your destination country has one (e.g.\"ON\" for Ontario).\n\nImportant: Required for United States of America (US) and Canada (CA).","uniqueKey":"ship_to.province.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.province","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"The ZIP code or postal code for the shipping address.\n\nImportant: Required for United States of America (US) and Canada (CA).","uniqueKey":"ship_to.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ZIP code or postal code for the shipping address.\n\nImportant: Required for United States of America (US) and Canada (CA).","uniqueKey":"ship_to.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.postal_code","typeLabel":"string | null"},"address1":{"oneOf":[{"type":"string","description":"The primary street address line, such as the house number and street name. Example: \"123 Main Street\".","uniqueKey":"ship_to.address1.oneOf.0","typeLabel":"string"},{"type":"null","description":"The primary street address line, such as the house number and street name. Example: \"123 Main Street\".","uniqueKey":"ship_to.address1.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.address1","typeLabel":"string | null"},"address2":{"oneOf":[{"type":"string","description":"A secondary address line, such as an apartment, suite, or unit number. Example: \"Apt 4B\".","uniqueKey":"ship_to.address2.oneOf.0","typeLabel":"string"},{"type":"null","description":"A secondary address line, such as an apartment, suite, or unit number. Example: \"Apt 4B\".","uniqueKey":"ship_to.address2.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.address2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city or locality for the delivery address.","uniqueKey":"ship_to.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city or locality for the delivery address.","uniqueKey":"ship_to.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.city","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The full name of the recipient at the destination address.","uniqueKey":"ship_to.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The full name of the recipient at the destination address.","uniqueKey":"ship_to.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to.name","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"ship_to","typeLabel":"object"},"caller_app":{"type":"string","description":"Identifier for your app/service (e.g., \"checkout-service\").","isRequired":true,"uniqueKey":"caller_app","typeLabel":"string"},"currency_code":{"type":"string","description":"ISO 4217 currency code (e.g., USD, EUR).","isRequired":true,"uniqueKey":"currency_code","typeLabel":"string"},"order_discount":{"type":"number","description":"Total order-level discount in major currency units (e.g., 10.00 means $10 off). Discount is split proportionally across products for duties/taxes.","isRequired":true,"uniqueKey":"order_discount","typeLabel":"number"},"shipments":{"description":"One or more shipments to calculate landed costs for. A shipment groups the items sent from a specific origin warehouse to the order's destination address.","type":"array","items":{"type":"object","properties":{"ship_from":{"type":"object","description":"The origin address for this shipment — where it will be shipped from.","required":["country_code"],"properties":{"country_code":{"type":"string","description":"The two-letter country code (ISO 3166-1 alpha-2) for the shipping origin (e.g., \"US\").","isRequired":true,"uniqueKey":"shipments.items.[INDEX].ship_from.country_code","typeLabel":"string"},"province":{"oneOf":[{"type":"string","description":"The state, province, or region within the country.","uniqueKey":"shipments.items.[INDEX].ship_from.province.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state, province, or region within the country.","uniqueKey":"shipments.items.[INDEX].ship_from.province.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipments.items.[INDEX].ship_from.province","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"The postal or ZIP code for the origin address.","uniqueKey":"shipments.items.[INDEX].ship_from.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The postal or ZIP code for the origin address.","uniqueKey":"shipments.items.[INDEX].ship_from.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipments.items.[INDEX].ship_from.postal_code","typeLabel":"string | null"},"address1":{"oneOf":[{"type":"string","description":"TThe primary street address line (e.g., \"123 Warehouse Ave\").","uniqueKey":"shipments.items.[INDEX].ship_from.address1.oneOf.0","typeLabel":"string"},{"type":"null","description":"TThe primary street address line (e.g., \"123 Warehouse Ave\").","uniqueKey":"shipments.items.[INDEX].ship_from.address1.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipments.items.[INDEX].ship_from.address1","typeLabel":"string | null"},"address2":{"oneOf":[{"type":"string","description":"A secondary address line (e.g., unit or suite number).","uniqueKey":"shipments.items.[INDEX].ship_from.address2.oneOf.0","typeLabel":"string"},{"type":"null","description":"A secondary address line (e.g., unit or suite number).","uniqueKey":"shipments.items.[INDEX].ship_from.address2.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipments.items.[INDEX].ship_from.address2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city or locality for the delivery address.","uniqueKey":"shipments.items.[INDEX].ship_from.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city or locality for the delivery address.","uniqueKey":"shipments.items.[INDEX].ship_from.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipments.items.[INDEX].ship_from.city","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The full name for the shipping origin, if needed for labeling.","uniqueKey":"shipments.items.[INDEX].ship_from.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The full name for the shipping origin, if needed for labeling.","uniqueKey":"shipments.items.[INDEX].ship_from.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipments.items.[INDEX].ship_from.name","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"shipments.items.[INDEX].ship_from","typeLabel":"object"},"shipment_id":{"type":"string","description":"A unique ID for the shipment. This ID will be returned in the response to match duties and taxes back to your shipment.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipment_id","typeLabel":"string"},"shipping_rates":{"description":"A list of available shipping rate options for this shipment.","type":"array","items":{"type":"object","properties":{"shipping_rate_id":{"type":"string","description":"A unique ID for the shipping rate option (e.g., \"EXPRESS_UPS\").","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rates.items.[INDEX].shipping_rate_id","typeLabel":"string"},"shipping_rate":{"type":"number","description":"The cost of the shipping rate in major currency units (e.g., dollars). Up to two decimal places.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rates.items.[INDEX].shipping_rate","typeLabel":"number"},"service_tier":{"oneOf":[{"type":"string","description":"Service tier of the shipping rate: `standard` or `express`. Treated as `standard` when not provided.","enum":["standard","express"],"uniqueKey":"shipments.items.[INDEX].shipping_rates.items.[INDEX].service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Service tier of the shipping rate: `standard` or `express`. Treated as `standard` when not provided.","enum":["standard","express"],"uniqueKey":"shipments.items.[INDEX].shipping_rates.items.[INDEX].service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipments.items.[INDEX].shipping_rates.items.[INDEX].service_tier","typeLabel":"enum\u003cstring> | null"}},"required":["shipping_rate_id","shipping_rate"],"uniqueKey":"shipments.items.[INDEX].shipping_rates.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rates","typeLabel":"object[]"},"items":{"description":"All the products included in this shipment.","type":"array","items":{"type":"object","properties":{"source_line_id":{"type":"string","description":"Your internal unique ID for this specific line item within the order.\n","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].source_line_id","typeLabel":"string"},"source_product_id":{"type":"number","description":"Your internal unique ID for the product.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].source_product_id","typeLabel":"number"},"source_variant_id":{"type":"number","description":"Your internal unique ID for the variant of the product.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].source_variant_id","typeLabel":"number"},"quantity":{"type":"number","description":"The number of units of this product in the shipment.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].quantity","typeLabel":"number"},"unit_price":{"type":"number","description":"The per-unit price in major currency units (e.g., dollars).","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].unit_price","typeLabel":"number"},"unit_discount":{"type":"number","description":"The total discount applied per unit in major currency units. This amount will be deducted from the unit price when calculating duties/taxes.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].unit_discount","typeLabel":"number"},"sku":{"type":"string","description":"The SKU code for the variant.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].sku","typeLabel":"string"},"product_name":{"type":"string","description":"The name of the product (e.g., \"Cotton T-Shirt\").","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].product_name","typeLabel":"string"},"variant_name":{"type":"string","description":"A descriptive variant name, such as \"Medium / Blue\" — identifies the unique combination of attributes.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].variant_name","typeLabel":"string"},"description":{"type":"string","description":"A clear description of the product.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].description","typeLabel":"string"},"origin_country_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code for where the product was manufactured.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].origin_country_code","typeLabel":"string"},"category":{"type":"string","description":"The product category or taxonomy for classification (e.g., \"Apparel\").","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].category","typeLabel":"string"},"requires_shipping":{"type":"boolean","description":"true if the product physically ships; false for digital/non-physical items.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].requires_shipping","typeLabel":"boolean"},"weight":{"type":"object","description":"Weight information for the item.","required":["per_unit","unit"],"properties":{"per_unit":{"type":"number","description":"Weight per individual item unit. Must be greater than 0, except for items with `requires_shipping: false` (e.g. digital products), which can use 0.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].weight.per_unit","typeLabel":"number"},"unit":{"type":"string","description":"Measurement unit for weight (g = grams, lb = pounds).","enum":["g","lb"],"isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].weight","typeLabel":"object"},"hs_code":{"oneOf":[{"type":"string","description":"Optional merchant-provided HS6 code. When provided, used as the basis for landed cost and classification.","uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].hs_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional merchant-provided HS6 code. When provided, used as the basis for landed cost and classification.","uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].hs_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX].hs_code","typeLabel":"string | null"}},"required":["source_line_id","source_product_id","source_variant_id","quantity","unit_price","unit_discount","sku","product_name","variant_name","description","origin_country_code","category","requires_shipping","weight"],"uniqueKey":"shipments.items.[INDEX].\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"shipments.items.[INDEX].\\items","typeLabel":"object[]"}},"required":["ship_from","shipment_id","shipping_rates","items"],"uniqueKey":"shipments.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"shipments","typeLabel":"object[]"},"external_reference_id":{"oneOf":[{"type":"string","description":"External ID for traceability, like a cart ID or checkout session ID.","uniqueKey":"external_reference_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"External ID for traceability, like a cart ID or checkout session ID.","uniqueKey":"external_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"external_reference_id","typeLabel":"string | null"},"custom_properties":{"oneOf":[{"type":"object","description":"Any custom metadata your system wants to store (max 4 KB).","uniqueKey":"custom_properties.oneOf.0","typeLabel":"object"},{"type":"null","description":"Any custom metadata your system wants to store (max 4 KB).","uniqueKey":"custom_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_properties","typeLabel":"object | null"}},"required":["ship_to","caller_app","currency_code","order_discount","shipments"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ship_to":{"country_code":"\u003cstring>","province":"\u003cstring>","postal_code":"\u003cstring>","address1":"\u003cstring>","address2":"\u003cstring>","city":"\u003cstring>","name":"\u003cstring>"},"caller_app":"\u003cstring>","currency_code":"\u003cstring>","order_discount":123,"shipments":[{"ship_from":{"country_code":"\u003cstring>","province":"\u003cstring>","postal_code":"\u003cstring>","address1":"\u003cstring>","address2":"\u003cstring>","city":"\u003cstring>","name":"\u003cstring>"},"shipment_id":"\u003cstring>","shipping_rates":[{"shipping_rate_id":"\u003cstring>","shipping_rate":123}],"items":[{"source_line_id":"\u003cstring>","source_product_id":123,"source_variant_id":123,"quantity":123,"unit_price":123,"unit_discount":123,"sku":"\u003cstring>","product_name":"\u003cstring>","variant_name":"\u003cstring>","description":"\u003cstring>","origin_country_code":"\u003cstring>","category":"\u003cstring>","requires_shipping":true,"weight":{"per_unit":123},"hs_code":"\u003cstring>"}]}],"external_reference_id":"\u003cstring>","custom_properties":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"4dd54eb6-c4fa-43c7-90f5-fc468bb9ac8f":{"description":"Landed cost successfully calculated","content":{"application/json":{"schema":{"type":"object","properties":{"landedcost_request_id":{"type":"string","description":"Unique ID for this tax calculation request, must be submitted with the final order — store this for auditing or support.","isRequired":true,"uniqueKey":"landedcost_request_id","typeLabel":"string"},"currency_code":{"type":"string","description":"ISO 4217 currency code used for all amounts (e.g., \"CAD\").","isRequired":true,"uniqueKey":"currency_code","typeLabel":"string"},"external_reference_id":{"oneOf":[{"type":"string","description":"Your original reference ID (e.g., cart or session ID) — helps link this calculation back to your system.","isRequired":true,"uniqueKey":"external_reference_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your original reference ID (e.g., cart or session ID) — helps link this calculation back to your system.","isRequired":true,"uniqueKey":"external_reference_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"external_reference_id","typeLabel":"string | null"},"created_at":{"type":"string","description":"ISO timestamp showing when the calculation was processed.","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"usd_conversion_rate":{"type":"number","description":"Conversion rate from the returned currency to USD at the time of calculation — useful for reporting.","isRequired":true,"uniqueKey":"usd_conversion_rate","typeLabel":"number"},"shipments":{"description":"List of results for each shipment you submitted.","type":"array","items":{"type":"object","properties":{"shipment_id":{"type":"string","description":"The ID you provided for this shipment — use it to map results back to your original request.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipment_id","typeLabel":"string"},"shipment_type":{"type":"string","description":"Type of shipment: \"cross_border\" or \"local\".","enum":["cross_border","local"],"isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipment_type","typeLabel":"enum\u003cstring>"},"shipping_rate_taxes":{"description":"Tax and landed cost results for each shipping rate option you submitted.","type":"array","items":{"type":"object","properties":{"shipping_rate_id":{"type":"string","description":"ID of the shipping rate you submitted (e.g., \"STANDARD_UPS\").","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].shipping_rate_id","typeLabel":"string"},"shipping_rate":{"type":"number","description":"The cost of the shipping rate in major currency units (e.g., dollars). Up to two decimal places.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].shipping_rate","typeLabel":"number"},"tax_transaction_id":{"type":"string","description":"Unique tax transaction ID for the selected shipping option. You must save this and send it when you commit the final order to show which rate was chosen.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].tax_transaction_id","typeLabel":"string"},"landed_cost":{"type":"object","description":"Duties, taxes, fees, and a detailed breakdown for this shipping rate.","required":["duties","total_taxes","shipment_taxes","product_taxes","breakdown"],"properties":{"duties":{"type":"number","description":"Total import duties in major currency units.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.duties","typeLabel":"number"},"total_taxes":{"type":"number","description":"Total taxes for the shipment — sum of shipment and product taxes.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.total_taxes","typeLabel":"number"},"shipment_taxes":{"type":"number","description":"Portion of taxes that apply to shipping fees.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.shipment_taxes","typeLabel":"number"},"product_taxes":{"type":"number","description":"Portion of taxes that apply to the products.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.product_taxes","typeLabel":"number"},"breakdown":{"description":"Itemized details of each tax or duty, by type, jurisdiction, and amount.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"Type of charge: \"shipment_tax\", \"product_tax\", or \"duty\".","enum":["shipment_tax","product_tax","duty"],"isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"tax_name":{"type":"string","description":"Descriptive name of the tax or duty (e.g., \"GST\", \"Import Duty\").","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].tax_name","typeLabel":"string"},"rate":{"type":"number","description":"Percentage rate applied to the taxable amount.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].rate","typeLabel":"number"},"amount":{"type":"number","description":"Final amount for this tax or duty in major currency units (e.g., dollars).","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].amount","typeLabel":"number"},"taxable_amount":{"type":"number","description":"The base amount that the rate was applied to.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].taxable_amount","typeLabel":"number"},"jurisdiction":{"type":"object","description":"The jurisdiction or region that this tax or duty applies to.","required":["name","type"],"properties":{"name":{"type":"string","description":"The name of the jurisdiction or region where the tax/duty applies (e.g., \"Ontario\" or \"Federal\").","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].jurisdiction.name","typeLabel":"string"},"type":{"type":"string","description":"The type of jurisdiction — for example, \"state\", \"country\", or \"federal\".","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].jurisdiction.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].jurisdiction","typeLabel":"object"},"sku":{"oneOf":[{"type":"string","description":"The SKU of the product the tax or duty applies to, if relevant. If the cost is shipment-level (not product-specific), this will be null.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"The SKU of the product the tax or duty applies to, if relevant. If the cost is shipment-level (not product-specific), this will be null.","isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].sku.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX].sku","typeLabel":"string | null"}},"required":["type","tax_name","rate","amount","taxable_amount","jurisdiction","sku"],"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost.breakdown","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX].landed_cost","typeLabel":"object"}},"required":["shipping_rate_id","shipping_rate","tax_transaction_id","landed_cost"],"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"shipments.items.[INDEX].shipping_rate_taxes","typeLabel":"object[]"}},"required":["shipment_id","shipment_type","shipping_rate_taxes"],"uniqueKey":"shipments.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"shipments","typeLabel":"object[]"},"hs_codes":{"description":"The HS Code each product has been classified to. Availability Note: This field is conditionally populated in the response body. It will only be included if your merchant configuration requires the HS Code for proper processing (ex. international shipping or customs declaration). If the field is not required for your integration, a null value will be returned.","type":"array","items":{"type":"object","properties":{"sku":{"type":"string","description":"SKU of the product","isRequired":true,"uniqueKey":"hs_codes.items.[INDEX].sku","typeLabel":"string"},"hs_code":{"type":"string","description":"HS code assigned to the product when calculating duties/taxes. **HS code is determined based on the product and ship to country**.","isRequired":true,"uniqueKey":"hs_codes.items.[INDEX].hs_code","typeLabel":"string"}},"required":["sku","hs_code"],"uniqueKey":"hs_codes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"hs_codes","typeLabel":"object[]"}},"required":["landedcost_request_id","currency_code","external_reference_id","created_at","usd_conversion_rate","shipments","hs_codes"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"landedcost_request_id":"\u003cstring>","currency_code":"\u003cstring>","external_reference_id":"\u003cstring>","created_at":"\u003cstring>","usd_conversion_rate":123,"shipments":[{"shipment_id":"\u003cstring>","shipment_type":"cross_border","shipping_rate_taxes":[{"shipping_rate_id":"\u003cstring>","shipping_rate":123,"tax_transaction_id":"\u003cstring>","landed_cost":{"duties":123,"total_taxes":123,"shipment_taxes":123,"product_taxes":123,"breakdown":[{"type":"shipment_tax","tax_name":"\u003cstring>","rate":123,"amount":123,"taxable_amount":123,"jurisdiction":{"name":"\u003cstring>","type":"\u003cstring>"},"sku":"\u003cstring>"}]}}]}],"hs_codes":[{"sku":"\u003cstring>","hs_code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"c8c28ada-8728-49a9-8465-fd6e850df38f":{"description":"The request is valid but can't be served, for example because the destination country isn't enabled for the brand.","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":"The destination country is not currently served for this brand. Please reach out to Openborder support to enable this country.","error":"Bad Request","statusCode":400},"examples":{"Example":{"title":"Example","value":{"message":"The destination country is not currently served for this brand. Please reach out to Openborder support to enable this country.","error":"Bad Request","statusCode":400}}},"exampleType":"examples"}},"exampleType":"examples"},"566c81bf-10b4-456f-ba0e-7eb92a019a98":{"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"},"2e7fd374-02b4-4e2f-b23e-3569b13e6534":{"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"},"3be07200-267b-47e6-912b-3132e33fc835":{"description":"Unprocessable payload received.","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"},"5924df77-b1a0-4e22-868b-433ed41d34db":{"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"},"b5af355c-098a-49a2-9b1d-fc3107ff4352":{"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":"Calculate Landed Cost\n - OpenBorder API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T16:10:25.151Z","originalFileLocation":"api-reference/landed-cost/calculate-landed-cost.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 REST API calculates the total landed cost for shipping a cart of products internationally. It determines all costs your customer will pay, including: - Duties - Import taxes - Other customs-related charges Showing a fully landed cost upfront gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer Delivered Duty Paid (DDP) shipping. ## When to Use This API - During checkout: Calculate the total landed cost in real-time when the user enters a shipping address. - In the shopping cart: Let shoppers see estimated import charges before they even reach checkout. - Before creating a draft order: Validate total shipping costs so your system can show an accurate final price, including duties and taxes. ## Key business benefits - Eliminate unexpected customs charges that cause cart abandonment. - Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout. - Improve international conversion rates by being upfront about total cost. - Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill. ## What this gives your merchants - One shipment → One or more ship-from → One or more shipping rates → Multiple items - The system returns duties, taxes, and fees for each shipment and rate, so merchants can present accurate options at checkout. ## How to ensure a guaranteed calculation - All required fields must be accurate. - Certain destination countries require Province/State and zip code to guarantee compliance. - If fields are missing, your calculation may be non-guaranteed* and final charges could differ.\">\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=\"Calculate Landed Cost\n - OpenBorder API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"## What this endpoint does This REST API calculates the total landed cost for shipping a cart of products internationally. It determines all costs your customer will pay, including: - Duties - Import taxes - Other customs-related charges Showing a fully landed cost upfront gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer Delivered Duty Paid (DDP) shipping. ## When to Use This API - During checkout: Calculate the total landed cost in real-time when the user enters a shipping address. - In the shopping cart: Let shoppers see estimated import charges before they even reach checkout. - Before creating a draft order: Validate total shipping costs so your system can show an accurate final price, including duties and taxes. ## Key business benefits - Eliminate unexpected customs charges that cause cart abandonment. - Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout. - Improve international conversion rates by being upfront about total cost. - Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill. ## What this gives your merchants - One shipment → One or more ship-from → One or more shipping rates → Multiple items - The system returns duties, taxes, and fees for each shipment and rate, so merchants can present accurate options at checkout. ## How to ensure a guaranteed calculation - All required fields must be accurate. - Certain destination countries require Province/State and zip code to guarantee compliance. - If fields are missing, your calculation may be non-guaranteed* and final charges could differ.\">\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/landed-cost/calculate-landed-cost\">\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=Landed+Cost\u0026amp;title=Calculate+Landed+Cost%0A\u0026amp;description=%23%23+What+this+endpoint+does%0AThis+REST+API+calculates+the+**total+landed+cost**+for+shipping+a+cart+of+products+internationally.%0AIt+determines+**all+costs+your+cu\u0026amp;theme=ceaa7336a9dd6f17f8756e7f\u0026amp;signature=bf0ae7d6f2f40747c75a7186411c996015bf920d11e90a7e248b1e8425891194\">\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=\"Calculate Landed Cost\n - OpenBorder API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"## What this endpoint does This REST API calculates the total landed cost for shipping a cart of products internationally. It determines all costs your customer will pay, including: - Duties - Import taxes - Other customs-related charges Showing a fully landed cost upfront gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer Delivered Duty Paid (DDP) shipping. ## When to Use This API - During checkout: Calculate the total landed cost in real-time when the user enters a shipping address. - In the shopping cart: Let shoppers see estimated import charges before they even reach checkout. - Before creating a draft order: Validate total shipping costs so your system can show an accurate final price, including duties and taxes. ## Key business benefits - Eliminate unexpected customs charges that cause cart abandonment. - Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout. - Improve international conversion rates by being upfront about total cost. - Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill. ## What this gives your merchants - One shipment → One or more ship-from → One or more shipping rates → Multiple items - The system returns duties, taxes, and fees for each shipment and rate, so merchants can present accurate options at checkout. ## How to ensure a guaranteed calculation - All required fields must be accurate. - Certain destination countries require Province/State and zip code to guarantee compliance. - If fields are missing, your calculation may be non-guaranteed* and final charges could differ.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openborder-2b51b6dd.mintlify.site/_mintlify/api/og/v2?division=Landed+Cost\u0026amp;title=Calculate+Landed+Cost%0A\u0026amp;description=%23%23+What+this+endpoint+does%0AThis+REST+API+calculates+the+**total+landed+cost**+for+shipping+a+cart+of+products+internationally.%0AIt+determines+**all+costs+your+cu\u0026amp;theme=ceaa7336a9dd6f17f8756e7f\u0026amp;signature=bf0ae7d6f2f40747c75a7186411c996015bf920d11e90a7e248b1e8425891194\">\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/landed-cost/calculate-landed-cost\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/landed-cost/calculate-landed-cost.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/landed-cost/calculate-landed-cost#webpage\",\"url\":\"https://developers.openborder.com/api-reference/landed-cost/calculate-landed-cost\",\"name\":\"Calculate Landed Cost\\n\",\"description\":\"## What this endpoint does This REST API calculates the total landed cost for shipping a cart of products internationally. It determines all costs your customer will pay, including: - Duties - Import taxes - Other customs-related charges Showing a fully landed cost upfront gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer Delivered Duty Paid (DDP) shipping. ## When to Use This API - During checkout: Calculate the total landed cost in real-time when the user enters a shipping address. - In the shopping cart: Let shoppers see estimated import charges before they even reach checkout. - Before creating a draft order: Validate total shipping costs so your system can show an accurate final price, including duties and taxes. ## Key business benefits - Eliminate unexpected customs charges that cause cart abandonment. - Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout. - Improve international conversion rates by being upfront about total cost. - Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill. ## What this gives your merchants - One shipment → One or more ship-from → One or more shipping rates → Multiple items - The system returns duties, taxes, and fees for each shipment and rate, so merchants can present accurate options at checkout. ## How to ensure a guaranteed calculation - All required fields must be accurate. - Certain destination countries require Province/State and zip code to guarantee compliance. - If fields are missing, your calculation may be non-guaranteed* and final charges could differ.\",\"dateModified\":\"2026-11-06T16:10:25.151Z\",\"isPartOf\":{\"@id\":\"https://developers.openborder.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.openborder.com/api-reference/landed-cost/calculate-landed-cost#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.openborder.com/api-reference/landed-cost/calculate-landed-cost#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OpenBorder API Documentation\",\"item\":\"https://developers.openborder.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Calculate Landed Cost\\n\",\"item\":\"https://developers.openborder.com/api-reference/landed-cost/calculate-landed-cost\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.openborder.com/api-reference/landed-cost/calculate-landed-cost#apireference\",\"headline\":\"Calculate Landed Cost\\n\",\"name\":\"Calculate Landed Cost\\n\",\"description\":\"## What this endpoint does This REST API calculates the total landed cost for shipping a cart of products internationally. It determines all costs your customer will pay, including: - Duties - Import taxes - Other customs-related charges Showing a fully landed cost upfront gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer Delivered Duty Paid (DDP) shipping. ## When to Use This API - During checkout: Calculate the total landed cost in real-time when the user enters a shipping address. - In the shopping cart: Let shoppers see estimated import charges before they even reach checkout. - Before creating a draft order: Validate total shipping costs so your system can show an accurate final price, including duties and taxes. ## Key business benefits - Eliminate unexpected customs charges that cause cart abandonment. - Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout. - Improve international conversion rates by being upfront about total cost. - Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill. ## What this gives your merchants - One shipment → One or more ship-from → One or more shipping rates → Multiple items - The system returns duties, taxes, and fees for each shipment and rate, so merchants can present accurate options at checkout. ## How to ensure a guaranteed calculation - All required fields must be accurate. - Certain destination countries require Province/State and zip code to guarantee compliance. - If fields are missing, your calculation may be non-guaranteed* and final charges could differ.\",\"url\":\"https://developers.openborder.com/api-reference/landed-cost/calculate-landed-cost\",\"mainEntityOfPage\":{\"@id\":\"https://developers.openborder.com/api-reference/landed-cost/calculate-landed-cost#webpage\"},\"dateModified\":\"2026-11-06T16:10:25.151Z\",\"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/landed-cost/calculate-landed-cost.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","description":"Returns one or more shipping labels associated with an OpenBorder order.\n\nFor full-order fulfillment, provide the order number to retrieve the\nexisting label. For split shipments, include the required SKU, parcel,\nand address information to generate a label for the specified items.\n","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","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":"Calculate Landed Cost\n - 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"]}