Shopify Variant Reconciliation: catalog migration audit
Pricing
from $2.50 / 1,000 variant checkeds
Shopify Variant Reconciliation: catalog migration audit
Read-only audit of two Shopify product CSVs (before and after a migration, or last week's and this week's re-import): missing, duplicate and mismatched variants by SKU and barcode, with review files. Optional approval list flags changes nobody approved. Never writes to your store.
Pricing
from $2.50 / 1,000 variant checkeds
Rating
0.0
(0)
Developer
Seisuke Nagahara
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Shopify Variant Reconciliation — catalog migration audit
Compare your Shopify product CSV before and after a migration (or a big re-import), variant by variant, and get a list of what to fix. Read-only: it never connects to your store, needs no Shopify credentials and changes nothing.
What it finds
- Variants that exist before but not after — and variants that only exist after
- SKU missing or changed; barcode missing or different
- Duplicate SKUs and duplicate barcodes
- Option values that changed (for example Size "S" became "Small")
- Price and compare-at price differences (a blank price is not treated as 0)
- Cases it cannot decide — they go to a review list instead of being guessed
Who it is for
Shopify agencies and freelancers who move stores, in-house e-commerce teams after a replatforming, and anyone who keeps SKUs and barcodes in sync with an ERP or inventory system.
How to use it
- Export the product CSV before the migration (old store, or your old platform's export in Shopify CSV format).
- Export the product CSV from the new Shopify store (Products › Export).
- Give both files to the Actor as links or paste the text, then press Start.
The input form is pre-filled with a tiny 9-variant demo, so you can press Start once to see the output before using your own files.
Input
| Field | What to enter |
|---|---|
| Before-migration CSV (URL or paste) | The old catalog |
| After-migration CSV (URL or paste) | The new Shopify catalog |
| Max variants per file | Default 50,000 (up to 100,000). The run stops with an error above this size, before any variant is charged |
| Include clean matches in the dataset | Off by default (the dataset lists only rows that need attention) |
- Current Shopify column names (
URL handle,SKU,Barcodes,Option1 value,Price) and the older ones (Handle,Variant SKU,Variant Barcode,Option1 Value,Variant Price) are both accepted. - Each file can be up to 50 MB. UTF-8, with or without BOM.
- A file needs a
URL handle(orHandle) column and at least a SKU or a barcode column.
Memory and run time
The default is 1 GB memory and a 300-second timeout, which fits catalogs up to about 50,000 variants. For 50,000–100,000 variants, raise "Max variants per file" and choose 2 GB in the run options (the start fee is charged per GB, so 2 GB adds $0.00005). The maximum is 4 GB. In our local tests, 10,000 variants took 1–4 seconds and 100,000 variants took 7–38 seconds, depending on how many rows had problems. Runs above 50,000 variants have not yet been measured on Apify, so start with a smaller file if you can.
Weekly re-import check (optional)
If you re-import products every week (ERP, supplier feed, bulk edits), use last week's approved export as the before file and this week's export as the after file, and give an approval list. The Actor separates the changes you approved from the changes nobody approved.
Approval CSV:
| key | change | new_value | note |
|---|---|---|---|
| LT-NAT-S | price | 3500 | autumn sale |
| 4901234567894 | barcode | new supplier code | |
| LT-NAT-XL | add | new size |
key: SKU or barcode.change: price, compare_at, sku, barcode, options, handle, add, remove.new_valueis optional;(blank)means the field is now empty.- A change counts as approved only when key, change type and (if given) the new value match. Lines that are invalid, conflict with each other or match more than one variant are listed and never used.
Extra files: weekly_unapproved_changes.csv, weekly_approved_changes.csv, weekly_approved_not_applied.csv (approved but not in this week's export), weekly_invalid_approvals.csv. The price is the same as a normal run. Without an approval list the report is exactly as before.
Output
Files in the run's key-value store:
| File | Contents |
|---|---|
summary.json | Counts by status and issue |
reconciliation.csv | Every variant, before and after side by side |
missing_variants.csv | Variants missing on either side |
duplicate_keys.csv | SKUs or barcodes used by more than one variant |
review_required.csv | Rows a person should check |
suggested_actions.csv | One suggested action per problem row |
The dataset contains the rows that need attention.
Example rows (from the demo data):
| status | issues | suggested action |
|---|---|---|
| missing_after | variant_missing_after_migration | Recreate this variant in the new catalog (or confirm it was intentionally dropped). |
| matched_with_differences | option_mismatch | Check the option values; changing them in Shopify creates new variant IDs. |
| matched_with_differences | barcode_missing_after | Copy the barcode to the new variant. |
How matching works
- SKU: surrounding spaces are removed and the comparison is exact. A SKU that differs only in letter case is matched but flagged for review.
- Barcode: the current
Barcodescolumn may hold several values separated by;, each with a type such asgtin:orupc:; the type is removed before comparing, sogtin:4901234567900equals a legacy4901234567900. Spaces and hyphens are removed. 8/12/13/14-digit codes with a valid GS1 check digit are compared as GTIN-14, so a UPC-A and the same code written as an EAN-13 with a leading zero match. Barcodes with a wrong check digit are compared as typed and flagged. - If a SKU or barcode points to more than one variant, the row goes to review. Nothing is resolved automatically.
- Results do not depend on row order.
Important
The suggested actions are for a person to review. They are not a Shopify import file. Importing a wrongly structured CSV into Shopify can delete and recreate variants.
Pricing
Pay per event:
- $2.50 per 1,000 before-migration variants compared ($0.0025 per variant), charged once per run after the report is saved.
- A small Apify start fee of $0.00005 per run (per GB of memory).
- Platform usage is included.
Examples: the 9-variant demo costs about $0.02; 1,000 variants cost $2.50; 4,000 variants cost $10.00.
If your "Maximum cost per run" is too low for the file, the run stops before comparing anything and no variants are charged. A run that fails on invalid input is not charged for variants.
Your data
The files are read during the run. The results are stored only in your own Apify account's storage, and nothing is sent to Shopify or to any third party. Product catalogs do not need customer data, so do not upload files that contain customer personal data. You can delete the run's storage when you are done.
Not supported yet
- Connecting to the Shopify Admin API
- Comparing inventory across locations
- Non-Shopify CSV layouts
- XML feeds
If a run fails
Open the ERROR record in the key-value store:
| code | meaning |
|---|---|
input_missing | Give a URL or paste the text for both files |
download_failed | The link could not be downloaded |
csv_missing_columns | Not a Shopify product CSV (no handle column, or no SKU or barcode column) |
csv_conflicting_columns | The file has both "Barcode" and "Barcodes" columns |
csv_empty / csv_unclosed_quote / csv_duplicate_column | The file is empty or not valid CSV |
limit_exceeded | The file is larger than 50 MB, or has more variants than "Max variants per file" |
spending_limit | Raise your maximum cost per run, or split the file |
FAQ
- Why "review required"? The Actor does not guess when a SKU or barcode matches several variants.
- Does it fix my store? No. It tells you what to fix.
- How fast is it? The 9-variant demo finished in about 3 seconds on Apify. Local timings for larger files are listed under "Memory and run time". Large runs have not yet been measured on the platform.
- Is it proven? It is new. There are no reviews yet.
Shopify is a trademark of Shopify Inc. This Actor is an independent tool and is not affiliated with, sponsored by or endorsed by Shopify.