Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Retrieving harmonizedSystemCode for Variants

Solved

Retrieving harmonizedSystemCode for Variants

fwallace
Shopify Partner
45 1 4

Hi all --

 

The GraphQL documentation has examples of updating or creating the harmonizedSystemCode for variants, that's great, but how do we extract that from the variant?

 

We are using a proprietary codebase to push orders to our Warehouse shared with the Wholesale side of the business, we cannot use something like ShipStation or any other Shopify partner for overseas shipping, so when we rate shop etc with FedEx, DHL we need to pass to our Warehouse system the HTS codes for each variant.

 

Is there a way to do this? I don't see anything in the docs allowing access to the variant's HTS codes.

Accepted Solution (1)

Liam
Community Manager
3108 344 899

This is an accepted solution.

Hi Fwallace,

 

The InventoryItem object has a field for harmonizedSystemCode - would you be able to access it from there?

Liam | Developer Advocate @ 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

View solution in original post

Reply 1 (1)

Liam
Community Manager
3108 344 899

This is an accepted solution.

Hi Fwallace,

 

The InventoryItem object has a field for harmonizedSystemCode - would you be able to access it from there?

Liam | Developer Advocate @ 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