Retrieving harmonizedSystemCode for Variants

Solved

Retrieving harmonizedSystemCode for Variants

fwallace
Shopify Partner
38 0 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
Shopify Staff
2873 312 818

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
Shopify Staff
2873 312 818

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