Development discussions around Shopify APIs
We want the details of “Harmonized Code” in the Order API but we are not receiving the details from Shopify.
We are not getting the "harmonized_system_code" in the "duties" object.
Can you please help us with this so that we can receive the Harmonized Code From Shopify API?
Hey @Sstech,
Can you provide the X-Request-Id from the response headers so we can troubleshoot further?
CalD | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi,
Please find below header details.
User-Agent : Shopify-Captain-Hook
X-Shopify-Api-Version : 2019-04
X-Shopify-Hmac-Sha256 : w0YJbiZ+C7YaLLVeENCOq+tt5TR/1vlwAEO0FPQI4C0=
X-Shopify-Order-Id : 2388524269653
X-Shopify-Shop-Domain : omniparcel.myshopify.com
X-Shopify-Test : false
X-Shopify-Topic : orders/create
Can we have some updates on this? We urgently need assistance on this.
We want the details of “Harmonized Code” in the Order API but we are not receiving the details from Shopify.
We are not getting the "harmonized_system_code" in the "duties" object.
Can you please help us with this so that we can receive the Harmonized Code From Shopify API?
Below are the details.
User-Agent : Shopify-Captain-Hook
X-Shopify-Api-Version : 2019-04
X-Shopify-Hmac-Sha256 : w0YJbiZ+C7YaLLVeENCOq+tt5TR/1vlwAEO0FPQI4C0=
X-Shopify-Order-Id : 2388524269653
X-Shopify-Shop-Domain : omniparcel.myshopify.com
X-Shopify-Test : false
X-Shopify-Topic : orders/create
Hey @sohail4,
It looks like the products on that site don't have any HS codes associated with them, which is likely why you're not seeing a harmonized system code.
Further reading from https://help.shopify.com/en/manual/products/duties :
To show a duties estimate to international customers in your checkout, you need to edit your product details to include the country or region of origin and the HS code.
Keep in mind that the duty rate is calculated based on a number of factors, so they may not apply for certain combinations of HS codes/shipping destinations.
CalD | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi,
Thanks for the reply.
We have created one test shipment with HS code details.
The Id is "2687381864533".
Please find below the image of the request body. We are still not getting the Duties object in "Line_Items".
Thanks
Hi Team,
Can we have some updates on this?
Thanks
Hey @sohail4,
Now that you've added the HS code to that product, it should be coming through the InventoryItem/InventoryLevel API as harmonized_system_code.
Shopify currently doesn't calculate duty estimates automatically for checkouts/orders, but you could use the above to show an estimate of the cost of duties for an order at checkout and calculating with a private app (or a third-party app from the Shopify app store that does the same), and then updating the order with the duties object with the calculated amount etc if needed.
We are aware of the benefits of this functionality if it were automatically calculated by Shopify, so I can log your feedback internally!
CalD | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023