{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Teleship Developer Hub","colors":{"primary":"#3ECC5F","light":"#44D860","dark":"#1C1E1E"},"logo":{"light":"https://mintcdn.com/teleship/xJxPL0DYWRieARJx/logo/light.svg?fit=max\u0026auto=format\u0026n=xJxPL0DYWRieARJx\u0026q=85\u0026s=9f57a70ccd14e9396feffe27a690b353","dark":"https://mintcdn.com/teleship/xJxPL0DYWRieARJx/logo/dark.svg?fit=max\u0026auto=format\u0026n=xJxPL0DYWRieARJx\u0026q=85\u0026s=66bf3b8499c47fc772540aca62496a1b"},"favicon":"https://mintcdn.com/teleship/xJxPL0DYWRieARJx/favicon.ico?fit=max\u0026auto=format\u0026n=xJxPL0DYWRieARJx\u0026q=85\u0026s=5d26f29b5e27c06ff400c648f21f4ac3","navbar":{"links":[{"href":"https://teleship.com","label":"Website"}]},"footer":{"socials":{"x":"https://x.com/teleship","linkedin":"https://linkedin.com/company/teleship"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"teleship","hasAudioNarration":false,"actualSubdomain":"teleship","customDomains":["developers.teleship.com"],"gitSource":{"type":"github","owner":"teleship","repo":"stack","deployBranch":"release","contentDirectory":"apps/developer-docs/docs.json","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21ddd9a00fa423a8a6598d","collectionId":"5b5d3267-1a06-4cfd-8a5e-d0637855d3d3","schemaVersion":"v2"},"feedback":{"issues":false,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a22ac17176712f0ade9b513:failure","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API reference","count":30},{"language":"default","tag":"Shipping services","count":16},{"language":"default","tag":"Trade engine","count":6},{"language":"default","tag":"Taxes collections","count":4},{"language":"default","tag":"Authentication","count":3},{"language":"default","tag":"Overview","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"cs@teleship.com","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/trade-engine/classify-commodities","slug":"/api-reference/trade-engine/classify-commodities","pageMetadata":{"title":"Classify commodities","description":"Classify multiple products or commodities to determine their correct HS codes and compliance requirements.\n\n**What you get:**\n- Predicted HS codes for each product\n- Regulatory and import restrictions\n- Confidence level of the classification\n\n**Use case:**\nAutomate customs documentation and ensure accurate product classification for international shipping.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/trade-engine/classifications","href":"/api-reference/trade-engine/classify-commodities","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 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.p, {\n children: \"Classify multiple products or commodities to determine their correct HS codes and compliance requirements.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"What you get:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Predicted HS codes for each product\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Regulatory and import restrictions\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Confidence level of the classification\"\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Use case:\"\n }), \"\\nAutomate customs documentation and ensure accurate product classification for international shipping.\"]\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":{"config":{},"pageMetadata":{"title":"Classify commodities","description":"Classify multiple products or commodities to determine their correct HS codes and compliance requirements.\n\n**What you get:**\n- Predicted HS codes for each product\n- Regulatory and import restrictions\n- Confidence level of the classification\n\n**Use case:**\nAutomate customs documentation and ensure accurate product classification for international shipping.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/trade-engine/classifications","href":"/api-reference/trade-engine/classify-commodities","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"classifyCommodities","summary":"Classify commodities","description":"Classify multiple products or commodities to determine their correct HS codes and compliance requirements.\n\n**What you get:**\n- Predicted HS codes for each product\n- Regulatory and import restrictions\n- Confidence level of the classification\n\n**Use case:**\nAutomate customs documentation and ensure accurate product classification for international shipping.\n","parameters":[],"requestBody":"34a4ce4e-4ac4-494a-ab0a-b4e6184d6073","responses":{"200":"d9130cc6-8136-426f-8900-b40448de4f4c","400":"5d4f7d19-993e-4b12-bb40-21455ef33184","403":"8d05f1be-ba37-4706-bd00-26c9a43df263","500":"359cdce0-d079-490a-9362-926e79678e38"},"tags":["Trade Engine"],"security":["2552b052-3ad7-4f53-b210-03f0ee70357d"],"method":"post","type":"path","servers":["8e9a3119-56d7-456a-b944-1786c8b36af0"],"path":"/api/trade-engine/classifications","baseUrlOptions":["https://api.teleship.com"],"title":"Classify commodities","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"originCountry":{"type":"string","description":"Origin country of the commodities","enum":["AF","AL","DZ","AS","AC","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","EL","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","SH","KN","LC","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"],"isRequired":true,"uniqueKey":"originCountry","typeLabel":"enum\u003cstring>"},"products":{"description":"Array of products to classify (max 20)","maxItems":20,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Product title","isRequired":true,"uniqueKey":"products.items.[INDEX].title","typeLabel":"string"},"productId":{"type":"string","description":"Product ID from platform","isRequired":true,"uniqueKey":"products.items.[INDEX].productId","typeLabel":"string"},"countryOfOrigin":{"type":"string","description":"Country of origin","enum":["AF","AL","DZ","AS","AC","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","EL","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","SH","KN","LC","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"],"uniqueKey":"products.items.[INDEX].countryOfOrigin","typeLabel":"enum\u003cstring>"},"sku":{"type":"string","description":"Stock Keeping Unit","uniqueKey":"products.items.[INDEX].sku","typeLabel":"string"},"hsCode":{"type":"string","description":"Harmonized System Code","uniqueKey":"products.items.[INDEX].hsCode","typeLabel":"string"},"variantId":{"type":"string","description":"Variant ID","uniqueKey":"products.items.[INDEX].variantId","typeLabel":"string"},"inventoryId":{"type":"string","description":"Inventory ID","uniqueKey":"products.items.[INDEX].inventoryId","typeLabel":"string"},"description":{"type":"string","description":"Product description","uniqueKey":"products.items.[INDEX].description","typeLabel":"string"},"category":{"type":"string","description":"Product category","uniqueKey":"products.items.[INDEX].category","typeLabel":"string"},"imageUrl":{"type":"string","description":"Product image URL","uniqueKey":"products.items.[INDEX].imageUrl","typeLabel":"string"},"source":{"type":"string","description":"Product source. e.g. Shopify, WooCommerce, etc.","uniqueKey":"products.items.[INDEX].source","typeLabel":"string"},"shop":{"type":"string","description":"Product shop. e.g. Shopify, WooCommerce, etc.","uniqueKey":"products.items.[INDEX].shop","typeLabel":"string"},"classification":{"type":"object","description":"Product classification with HS codes","properties":{"sixDigitHSCode":{"type":"string","description":"Six digit HS Code","uniqueKey":"products.items.[INDEX].classification.sixDigitHSCode","typeLabel":"string"},"originHSCode":{"type":"string","description":"Origin HS Code","deprecated":true,"uniqueKey":"products.items.[INDEX].classification.originHSCode","typeLabel":"string"},"destinationHSCode":{"type":"string","description":"Destination HS Code","deprecated":true,"uniqueKey":"products.items.[INDEX].classification.destinationHSCode","typeLabel":"string"},"originCode":{"type":"object","description":"Origin code","required":["hsCode"],"properties":{"hsCode":{"type":"string","description":"Harmonized System Code","isRequired":true,"uniqueKey":"products.items.[INDEX].classification.originCode.hsCode","typeLabel":"string"},"region":{"type":"object","description":"Region code","uniqueKey":"products.items.[INDEX].classification.originCode.region","typeLabel":"object"}},"uniqueKey":"products.items.[INDEX].classification.originCode","typeLabel":"object"},"destinationCode":{"type":"object","description":"Destination code","required":["hsCode"],"properties":{"hsCode":{"type":"string","description":"Harmonized System Code","isRequired":true,"uniqueKey":"products.items.[INDEX].classification.destinationCode.hsCode","typeLabel":"string"},"region":{"type":"object","description":"Region code","uniqueKey":"products.items.[INDEX].classification.destinationCode.region","typeLabel":"object"}},"uniqueKey":"products.items.[INDEX].classification.destinationCode","typeLabel":"object"},"regionalCodes":{"description":"Region codes","type":"array","items":{"type":"object","properties":{"hsCode":{"type":"string","description":"Harmonized System Code","isRequired":true,"uniqueKey":"products.items.[INDEX].classification.regionalCodes.items.[INDEX].hsCode","typeLabel":"string"},"region":{"type":"object","description":"Region code","uniqueKey":"products.items.[INDEX].classification.regionalCodes.items.[INDEX].region","typeLabel":"object"}},"required":["hsCode"],"uniqueKey":"products.items.[INDEX].classification.regionalCodes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"products.items.[INDEX].classification.regionalCodes","typeLabel":"object[]"}},"uniqueKey":"products.items.[INDEX].classification","typeLabel":"object"},"metadata":{"type":"object","description":"Product data","uniqueKey":"products.items.[INDEX].metadata","typeLabel":"object"}},"required":["title","productId"],"uniqueKey":"products.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"products","typeLabel":"object[]"},"destinationCountry":{"type":"string","description":"Destination country of the commodities","enum":["All","US","GB","EU","AU","CA","AT","BE","BG","HR","CY","CH","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","NZ","SG","HK","AE","SA"],"uniqueKey":"destinationCountry","typeLabel":"enum\u003cstring>"},"additionalRegions":{"type":"string","description":"Additional countries to classify the commodities","enum":["All","US","GB","EU","AU","CA","AT","BE","BG","HR","CY","CH","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","NZ","SG","HK","AE","SA"],"uniqueKey":"additionalRegions","typeLabel":"enum\u003cstring>"}},"required":["originCountry","products"],"uniqueKey":"","typeLabel":"object"},"examples":{"SingleProduct":{"title":"SingleProduct","value":{"originCountry":"GB","products":[{"quantity":1,"title":"Flix Earrings","hsCode":"7117190090","kgWeight":0.18,"sku":"stock-1","countryOfOrigin":"GR"}]}},"MultipleProducts":{"title":"MultipleProducts","value":{"originCountry":"GB","destinationCountry":"US","additionalRegions":["CA","AU"],"products":[{"sku":"LUX_BLANKET_002","title":"Luxury Cotton Baby Blanket - White","quantity":2,"description":"A premium, soft baby blanket made from 100% organic cotton in a classic white color.","countryOfOrigin":"GB"},{"sku":"BABY_TOY_015","title":"Eco-Friendly Wooden Rattle","quantity":1,"description":"Handcrafted wooden rattle made from sustainable materials, safe for babies.","countryOfOrigin":"GB"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"d9130cc6-8136-426f-8900-b40448de4f4c":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"classifications":{"description":"List of classified products","type":"array","items":{"type":"object","properties":{"itemNumber":{"type":"number","description":"Item number","isRequired":true,"uniqueKey":"classifications.items.[INDEX].itemNumber","typeLabel":"number"},"title":{"type":"string","description":"Product title","isRequired":true,"uniqueKey":"classifications.items.[INDEX].title","typeLabel":"string"},"productId":{"type":"string","description":"Product ID","isRequired":true,"uniqueKey":"classifications.items.[INDEX].productId","typeLabel":"string"},"classification":{"type":"object","description":"Classification details","properties":{"sixDigitHSCode":{"type":"string","description":"Six digit HS Code","uniqueKey":"classifications.items.[INDEX].classification.sixDigitHSCode","typeLabel":"string"},"originHSCode":{"type":"string","description":"Origin HS Code","deprecated":true,"uniqueKey":"classifications.items.[INDEX].classification.originHSCode","typeLabel":"string"},"destinationHSCode":{"type":"string","description":"Destination HS Code","deprecated":true,"uniqueKey":"classifications.items.[INDEX].classification.destinationHSCode","typeLabel":"string"},"originCode":{"type":"object","description":"Origin code","required":["hsCode"],"properties":{"hsCode":{"type":"string","description":"Harmonized System Code","isRequired":true,"uniqueKey":"classifications.items.[INDEX].classification.originCode.hsCode","typeLabel":"string"},"region":{"type":"object","description":"Region code","uniqueKey":"classifications.items.[INDEX].classification.originCode.region","typeLabel":"object"}},"uniqueKey":"classifications.items.[INDEX].classification.originCode","typeLabel":"object"},"destinationCode":{"type":"object","description":"Destination code","required":["hsCode"],"properties":{"hsCode":{"type":"string","description":"Harmonized System Code","isRequired":true,"uniqueKey":"classifications.items.[INDEX].classification.destinationCode.hsCode","typeLabel":"string"},"region":{"type":"object","description":"Region code","uniqueKey":"classifications.items.[INDEX].classification.destinationCode.region","typeLabel":"object"}},"uniqueKey":"classifications.items.[INDEX].classification.destinationCode","typeLabel":"object"},"regionalCodes":{"description":"Region codes","type":"array","items":{"type":"object","properties":{"hsCode":{"type":"string","description":"Harmonized System Code","isRequired":true,"uniqueKey":"classifications.items.[INDEX].classification.regionalCodes.items.[INDEX].hsCode","typeLabel":"string"},"region":{"type":"object","description":"Region code","uniqueKey":"classifications.items.[INDEX].classification.regionalCodes.items.[INDEX].region","typeLabel":"object"}},"required":["hsCode"],"uniqueKey":"classifications.items.[INDEX].classification.regionalCodes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"classifications.items.[INDEX].classification.regionalCodes","typeLabel":"object[]"}},"uniqueKey":"classifications.items.[INDEX].classification","typeLabel":"object"},"restrictions":{"description":"HS Code restrictions","type":"array","items":{"type":"object","properties":{"importRegion":{"type":"string","description":"The import region","isRequired":true,"uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].importRegion","typeLabel":"string"},"flag":{"type":"string","description":"The restriction flag status","isRequired":true,"uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].flag","typeLabel":"string"},"importRisk":{"type":"string","description":"The import risk level","isRequired":true,"uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].importRisk","typeLabel":"string"},"id":{"type":"string","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].id","typeLabel":"string"},"countryOfOrigin":{"type":"string","description":"The country of origin","enum":["AF","AL","DZ","AS","AC","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","EL","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","SH","KN","LC","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"],"uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].countryOfOrigin","typeLabel":"enum\u003cstring>"},"hts":{"type":"string","description":"The hts information","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].hts","typeLabel":"string"},"chapter":{"type":"string","description":"The chapter information","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].chapter","typeLabel":"string"},"message":{"type":"string","description":"Detailed restriction message","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].message","typeLabel":"string"},"info":{"type":"string","description":"Additional information","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].info","typeLabel":"string"},"capture":{"type":"string","description":"Capture type","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].capture","typeLabel":"string"},"metadata":{"type":"object","description":"Additional metadata","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].metadata","typeLabel":"object"},"serviceCode":{"type":"string","description":"Service code for route-specific restrictions","example":"TELESHIP-EXPEDITED-PICKUP","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].serviceCode","typeLabel":"string"},"shippingMethod":{"type":"string","description":"Shipping method for route-specific restrictions","example":"RM-RETURN-T24","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].shippingMethod","typeLabel":"string"},"restrictionLevel":{"type":"string","description":"Restriction level for this commodity","enum":["FALSE","TRUE","ACCOUNT","All"],"uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].restrictionLevel","typeLabel":"enum\u003cstring>"},"createdAt":{"format":"date-time","type":"string","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["importRegion","flag","importRisk"],"uniqueKey":"classifications.items.[INDEX].restrictions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"classifications.items.[INDEX].restrictions","typeLabel":"object[]"}},"required":["itemNumber","title","productId"],"uniqueKey":"classifications.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"classifications","typeLabel":"object[]"}},"required":["classifications"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"classifications":[{"itemNumber":123,"title":"\u003cstring>","productId":"\u003cstring>","classification":{"sixDigitHSCode":"\u003cstring>","originHSCode":"\u003cstring>","destinationHSCode":"\u003cstring>","originCode":{"hsCode":"\u003cstring>","region":{}},"destinationCode":{"hsCode":"\u003cstring>","region":{}},"regionalCodes":[{"hsCode":"\u003cstring>","region":{}}]},"restrictions":[{"importRegion":"\u003cstring>","flag":"\u003cstring>","importRisk":"\u003cstring>","id":"\u003cstring>","countryOfOrigin":"AF","hts":"\u003cstring>","chapter":"\u003cstring>","message":"\u003cstring>","info":"\u003cstring>","capture":"\u003cstring>","metadata":{},"serviceCode":"TELESHIP-EXPEDITED-PICKUP","shippingMethod":"RM-RETURN-T24","restrictionLevel":"FALSE","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"5d4f7d19-993e-4b12-bb40-21455ef33184":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"code":{"type":"number","isRequired":true,"uniqueKey":"messages.items.[INDEX].code","typeLabel":"number"},"level":{"type":"string","enum":["error","warning","info"],"example":"error","description":"Error level","default":"error","isRequired":true,"uniqueKey":"messages.items.[INDEX].level","typeLabel":"enum\u003cstring>"},"timestamp":{"format":"date-time","type":"string","example":"2024-01-01T00:00:00.00Z","isRequired":true,"uniqueKey":"messages.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"messages.items.[INDEX].message","typeLabel":"string"},"details":{"example":["Missing required field"],"type":"array","items":{"type":"string","uniqueKey":"messages.items.[INDEX].details.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"messages.items.[INDEX].details","typeLabel":"string[]"}},"required":["code","level","timestamp","message","details"],"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"}},"required":["messages"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"messages":[{"code":123,"level":"error","timestamp":"2024-01-01T00:00:00.00Z","message":"An error occurred","details":["Missing required field"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"8d05f1be-ba37-4706-bd00-26c9a43df263":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"code":{"type":"number","isRequired":true,"uniqueKey":"messages.items.[INDEX].code","typeLabel":"number"},"level":{"type":"string","enum":["error","warning","info"],"example":"error","description":"Error level","default":"error","isRequired":true,"uniqueKey":"messages.items.[INDEX].level","typeLabel":"enum\u003cstring>"},"timestamp":{"format":"date-time","type":"string","example":"2024-01-01T00:00:00.00Z","isRequired":true,"uniqueKey":"messages.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"messages.items.[INDEX].message","typeLabel":"string"},"details":{"example":["Missing required field"],"type":"array","items":{"type":"string","uniqueKey":"messages.items.[INDEX].details.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"messages.items.[INDEX].details","typeLabel":"string[]"}},"required":["code","level","timestamp","message","details"],"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"}},"required":["messages"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"messages":[{"code":123,"level":"error","timestamp":"2024-01-01T00:00:00.00Z","message":"An error occurred","details":["Missing required field"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"359cdce0-d079-490a-9362-926e79678e38":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"code":{"type":"number","isRequired":true,"uniqueKey":"messages.items.[INDEX].code","typeLabel":"number"},"level":{"type":"string","enum":["error","warning","info"],"example":"error","description":"Error level","default":"error","isRequired":true,"uniqueKey":"messages.items.[INDEX].level","typeLabel":"enum\u003cstring>"},"timestamp":{"format":"date-time","type":"string","example":"2024-01-01T00:00:00.00Z","isRequired":true,"uniqueKey":"messages.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"messages.items.[INDEX].message","typeLabel":"string"},"details":{"example":["Missing required field"],"type":"array","items":{"type":"string","uniqueKey":"messages.items.[INDEX].details.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"messages.items.[INDEX].details","typeLabel":"string[]"}},"required":["code","level","timestamp","message","details"],"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"}},"required":["messages"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"messages":[{"code":123,"level":"error","timestamp":"2024-01-01T00:00:00.00Z","message":"An error occurred","details":["Missing required field"]}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2552b052-3ad7-4f53-b210-03f0ee70357d":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[]}}},"servers":{"8e9a3119-56d7-456a-b944-1786c8b36af0":{"url":"https://api.teleship.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"teleship","siteName":"Teleship Developer Hub","title":"Classify commodities - Teleship Developer Hub","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-06T08:12:26.015Z","originalFileLocation":"api-reference/trade-engine/classify-commodities.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=\"Classify multiple products or commodities to determine their correct HS codes and compliance requirements. What you get: - Predicted HS codes for each product - Regulatory and import restrictions - Confidence level of the classification Use case: Automate customs documentation and ensure accurate product classification for international shipping.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Teleship Developer Hub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/teleship/HVxbiRIF3fulOF4k/_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/teleship/HVxbiRIF3fulOF4k/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/teleship/HVxbiRIF3fulOF4k/_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/teleship/HVxbiRIF3fulOF4k/_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/teleship/HVxbiRIF3fulOF4k/_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/teleship/HVxbiRIF3fulOF4k/_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/teleship/HVxbiRIF3fulOF4k/_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/teleship/HVxbiRIF3fulOF4k/_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/teleship/HVxbiRIF3fulOF4k/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Classify commodities - Teleship Developer Hub\">\u003cmeta data-mint-head property=\"og:description\" content=\"Classify multiple products or commodities to determine their correct HS codes and compliance requirements. What you get: - Predicted HS codes for each product - Regulatory and import restrictions - Confidence level of the classification Use case: Automate customs documentation and ensure accurate product classification for international shipping.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Teleship Developer Hub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://teleship.mintlify.app/_mintlify/api/og/v2?division=Trade+engine\u0026amp;title=Classify+commodities\u0026amp;description=Classify+multiple+products+or+commodities+to+determine+their+correct+HS+codes+and+compliance+requirements.%0A%0A**What+you+get%3A**%0A-+Predicted+HS+codes+for+each+prod\u0026amp;theme=15d994c334089c5d8dc0d05b\u0026amp;signature=b31668aaa2a20e4d2a0e2e393f2bbb33a719939b3bd87551df31ba07d4c07424\">\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=\"Classify commodities - Teleship Developer Hub\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Classify multiple products or commodities to determine their correct HS codes and compliance requirements. What you get: - Predicted HS codes for each product - Regulatory and import restrictions - Confidence level of the classification Use case: Automate customs documentation and ensure accurate product classification for international shipping.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://teleship.mintlify.app/_mintlify/api/og/v2?division=Trade+engine\u0026amp;title=Classify+commodities\u0026amp;description=Classify+multiple+products+or+commodities+to+determine+their+correct+HS+codes+and+compliance+requirements.%0A%0A**What+you+get%3A**%0A-+Predicted+HS+codes+for+each+prod\u0026amp;theme=15d994c334089c5d8dc0d05b\u0026amp;signature=b31668aaa2a20e4d2a0e2e393f2bbb33a719939b3bd87551df31ba07d4c07424\">\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/teleship/HVxbiRIF3fulOF4k/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Teleship Developer Hub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3ECC5F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/trade-engine/classify-commodities.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.teleship.com/#organization\",\"name\":\"Teleship Developer Hub\",\"url\":\"https://developers.teleship.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/teleship/xJxPL0DYWRieARJx/logo/light.svg?fit=max\u0026auto=format\u0026n=xJxPL0DYWRieARJx\u0026q=85\u0026s=9f57a70ccd14e9396feffe27a690b353\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.teleship.com#website\",\"name\":\"Teleship Developer Hub\",\"url\":\"https://developers.teleship.com\",\"publisher\":{\"@id\":\"https://developers.teleship.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities#webpage\",\"url\":\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities\",\"name\":\"Classify commodities\",\"description\":\"Classify multiple products or commodities to determine their correct HS codes and compliance requirements. What you get: - Predicted HS codes for each product - Regulatory and import restrictions - Confidence level of the classification Use case: Automate customs documentation and ensure accurate product classification for international shipping.\",\"dateModified\":\"2026-05-06T08:12:26.015Z\",\"isPartOf\":{\"@id\":\"https://developers.teleship.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Teleship Developer Hub\",\"item\":\"https://developers.teleship.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Classify commodities\",\"item\":\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities#apireference\",\"headline\":\"Classify commodities\",\"name\":\"Classify commodities\",\"description\":\"Classify multiple products or commodities to determine their correct HS codes and compliance requirements. What you get: - Predicted HS codes for each product - Regulatory and import restrictions - Confidence level of the classification Use case: Automate customs documentation and ensure accurate product classification for international shipping.\",\"url\":\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities\",\"mainEntityOfPage\":{\"@id\":\"https://developers.teleship.com/api-reference/trade-engine/classify-commodities#webpage\"},\"dateModified\":\"2026-05-06T08:12:26.015Z\",\"publisher\":{\"@id\":\"https://developers.teleship.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.teleship.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Teleship Developer Hub\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Teleship Developer Hub","nav":{"global":null,"tabs":[{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Teleship API","sidebarTitle":"Home","icon":"house","href":""}]},{"group":"Authentication","pages":[{"title":"Authorize App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /oauth/authorize","href":"/api-reference/authentication/authorize-app"},{"title":"Get access token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /oauth/token","href":"/api-reference/authentication/get-access-token"},{"title":"Refresh access token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /oauth/refresh","href":"/api-reference/authentication/refresh-access-token"}]},{"group":"Shipping services","pages":[{"title":"Get all services","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/services","href":"/api-reference/shipping-services/get-all-services"},{"title":"Get shipping quotes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/rates/quotes","href":"/api-reference/shipping-services/get-shipping-quotes"},{"title":"Create shipping label","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/shipments/labels","href":"/api-reference/shipping-services/create-shipping-label"},{"title":"Retrieve shipping details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/shipments/labels/{shipmentId}","href":"/api-reference/shipping-services/retrieve-shipping-details"},{"title":"Void shipping label","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/shipments/labels/{shipmentId}/void","href":"/api-reference/shipping-services/void-shipping-label"},{"title":"Upload shipping document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /documents/etds/upload","href":"/api-reference/shipping-services/upload-shipping-document"},{"title":"Sync tracking data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/tracking/sync-tracking","href":"/api-reference/shipping-services/sync-tracking-data"},{"title":"Get tracking details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/tracking/{trackingNumber}","href":"/api-reference/shipping-services/get-tracking-details"},{"title":"Create a manifest","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/manifests","href":"/api-reference/shipping-services/create-a-manifest"},{"title":"Retrieve a manifest","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/manifests/{manifestId}","href":"/api-reference/shipping-services/retrieve-a-manifest"},{"title":"Schedule pickup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/pickups","href":"/api-reference/shipping-services/schedule-pickup"},{"title":"Cancel pickup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/pickups/{pickupId}/cancel","href":"/api-reference/shipping-services/cancel-pickup"},{"title":"Get all webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/webhooks","href":"/api-reference/shipping-services/get-all-webhooks"},{"title":"Register webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/webhooks","href":"/api-reference/shipping-services/register-webhook-endpoint"},{"title":"Test webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/webhooks/test","href":"/api-reference/shipping-services/test-webhook-endpoint"},{"title":"Delete webhook","description":"Delete a webhook endpoint, stopping all event notifications to that URL.\n\n**Use this to:**\n- Remove outdated or compromised endpoints\n- Manage your integrations and event subscriptions\n ","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/webhooks/{id}","href":"/api-reference/shipping-services/delete-webhook"}]},{"group":"Trade engine","pages":[{"title":"Classify commodities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/trade-engine/classifications","href":"/api-reference/trade-engine/classify-commodities"},{"title":"Get HTS restrictions for products","description":"Retrieve HTS/HS code restrictions for multiple products without performing classification.\n\n**What you get:**\n- Import restrictions and compliance requirements for each product\n- Region-specific filtering (US, EU27, ROW)\n- Review state tracking (if productId/variantId provided)\n- Progressive HTS code matching for maximum coverage\n\n**Use case:**\nIdentify import restrictions, licensing requirements, and compliance obligations for products with existing HS codes.\n\n**Key Features:**\n- Destination country filtering: Filter restrictions by destination and additional regions\n- Review state: Track which restrictions have been reviewed by merchants\n- Flexible lookup: Match products by productId, variantId, or hsCode\n- Progressive matching: Matches HS codes at multiple specificity levels (e.g., 8471.30.01 → 8471.30 → 8471)\n\n**Note:** Unlike the classifications endpoint, this does NOT perform HS code classification. Use this when you already have HS codes and only need restrictions.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/trade-engine/hts-compliance","href":"/api-reference/trade-engine/get-hts-restrictions-for-products"},{"title":"Calculate duties and taxes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/trade-engine/duties-taxes","href":"/api-reference/trade-engine/calculate-duties-and-taxes"},{"title":"List duties/taxes API usage audit logs for the authenticated account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/trade-engine/duties-usage-logs","href":"/api-reference/trade-engine/list-dutiestaxes-api-usage-audit-logs-for-the-authenticated-account"},{"title":"Get a single duties/taxes API usage audit log for the authenticated account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/trade-engine/duties-usage-logs/{id}","href":"/api-reference/trade-engine/get-a-single-dutiestaxes-api-usage-audit-log-for-the-authenticated-account"},{"title":"Get duties/taxes API usage statistics for the authenticated account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/trade-engine/duties-usage-stats","href":"/api-reference/trade-engine/get-dutiestaxes-api-usage-statistics-for-the-authenticated-account"}]},{"group":"Taxes collections","pages":[{"title":"List taxes collections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/taxes-collections","href":"/api-reference/taxes-collections/list-taxes-collections"},{"title":"Export taxes collections as CSV","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/taxes-collections/export","href":"/api-reference/taxes-collections/export-taxes-collections-as-csv"},{"title":"Get a taxes collection by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/taxes-collections/{id}","href":"/api-reference/taxes-collections/get-a-taxes-collection-by-id"},{"title":"Process duty payment for a collection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/taxes-collections/{id}/payment","href":"/api-reference/taxes-collections/process-duty-payment-for-a-collection"}]}]}]},"basePath":"","title":"Classify commodities - Teleship Developer Hub","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}