Bulk update Shopify variant SKUs

Match on Handle or ID, put the new value in Variant SKU. Matching on the old SKU while changing it in the same cell will miss.

Use this to rename SKUs. Update by SKU uses SKU as the match key, not as the new value. Empty Variant SKU clears the SKU.

Columns

NeedColumns
MinimumHandle, Option values or Variant ID, Variant SKU (new value).
RecommendedID, Handle, Variant ID, Variant SKU.
Empty cellsEmpty Variant SKU clears the SKU.

Steps

  1. Export so you have Handle and Variant ID or option values.
  2. Edit Variant SKU to the new code. Do not use the old SKU as the only match key.
  3. Import, Dry run on.
Handle plus option value finds the variant. Variant SKU is the new code.

What a dry-run comment looks like

Would update. SKUs change on write.

What fails

  • Matching only on the SKU you are replacing.
  • A SKU that already exists on another variant when Shopify rejects duplicates (shop setting).

FAQ

Barcode?
Variant Barcode is a different column. Empty barcode clears it. Extra barcodes: PRD001.
Clear a SKU?
Leave Variant SKU empty. That clears it. Omit the column to keep the SKU.
Match by the old SKU?
That is Update by SKU. This page changes the SKU string after matching on Handle or ID.
Handle in the file?
Keep Handle so matching does not use the new SKU as the key.