How to add HS codes and country of origin to Shopify products in bulk

Add HS codes and country of origin to many Shopify products at once for international shipping. Preview every value first.

  • By Merchant Control
  • 5 steps
  • 3 min read
Video: Add HS codes and country of origin to many Shopify products · English subtitles

In short

To add HS codes and a country of origin to many Shopify products, open Bulk Actions in Merchant Control, set the Field to Shipping & Weight and choose your products. Run Set HS code, then Set country of origin: Preview changes shows each variant's value Now and After, and Merchant Control checks only a code's format, not whether it is the right code. Activity lists each run. Supported edits can be undone there.

The example in this guide gives the three snowboards in a Winter Sale collection the HS code 950611 and the country of origin US.

Add HS codes and country of origin, step by step

Step 1: Choose the products

In Merchant Control, open Bulk Actions. In step 1, Select products:

  1. Leave Resource on Products.
  2. Set Field to Shipping & Weight.
  3. Under Products must match, add a condition, for example Product collection › is › Winter Sale. Here that's the three snowboards in it.
Step 1: Field set to Shipping & Weight, products from the Winter Sale collection
Step 1: Choose the products

Step 2: Set the HS code

In step 2, Choose the change:

  1. Set Action to Set HS code.
  2. Keep Set HS code to, and enter the HS code you have already established for these products, here 950611. Merchant Control checks only the format: 6, 8, 10 or 12 digits. It doesn't tell you which code is right for a product.
Set HS code to 950611
Step 2: Set the HS code

Press Preview changes. Nothing changes until you run it. The code is set per variant, not per product: Review and run shows each variant's HS code Now and After. Then press Run now.

Review and run: HS code 950611 after
Review and run: HS code 950611 after

Step 3: Set the country of origin

Back in Bulk Actions, choose the same products with the Field still on Shipping & Weight, and set Action to Set country of origin. Keep Set country of origin to, and enter US as the Country code: two letters, in capitals.

Set country of origin to US
Step 3: Set the country of origin

Press Preview changes, check the After column, and press Run now.

Step 4: Check the runs in Activity

Each run is listed in Activity and shows Completed when it's done. In Shopify, each snowboard now has an HS code and a country of origin.

Activity: the two runs, Completed
Step 4: Check the runs in Activity

Step 5: Undo, if you need to

Activity lists each run. Supported edits can be undone there: open the run and press Undo. Merchant Control asks once more and reminds you that Later edits stay unchanged. Confirm with Undo. For what Undo puts back in general, see Undo bulk edits in Shopify.

The Undo confirmation: Later edits stay unchanged.
Step 5: Undo, if you need to

Good to know

  • Remove a code: in the same action, choose Remove HS code or Remove country of origin instead.
  • Per country: Set HS code for a country sets a country-specific HS code. This route has its own limit: it has no Undo, because a newly added country code cannot be removed here. You can update its code again.
  • Province of origin: Set province of origin is used only when Canada Post ships the item.
  • Credits: every preview shows what a task will use before it runs. Where Undo is offered, it uses no credits; the credits the task used stay used.
  • Save setup keeps this edit's settings for next time. Schedule runs it at a later moment (Advanced plan and up).

Features in this tutorial

Less work, more profit.

Get started for free

No monthly fee. Includes 100 one-time credits.