Skip to the guide

Shopify · Import troubleshooting

Shopify inventory CSV import not updating stock

An inventory CSV changes stock only on rows that name a variant and a location exactly as your store has them, with a whole number in On hand (new). Shopify also compares On hand (current) with your store and skips the rows whose stock changed after the export.

Which cause is yours?

What you observeLikely cause
Some quantities did not change, and Shopify emailed you about rows that failed validation1. Stock changed after your export
Nothing changed at one location2. The location name does not match
A quantity in the file has decimals or words3. Not a whole number
The quantity column of a product CSV set no stock4. Your store has several locations
Available is lower than the number you entered5. You set On hand, not Available
None of the rows of one variant were imported6. Packed dimensions differ between its rows

The inventory CSV

Stock has its own export and import: Products → Inventory → Export, and Products → Inventory → Import (Shopify Help). The export comes in two forms:

  • All states (recommended by Shopify): one row per variant and location, with On hand (current) and On hand (new). It protects against overwriting recent changes.
  • Available: one column per location with the available quantity. It is simpler but gives no such protection.

To find the variant, the file needs Handle, Location and Option1 Value. A product with more options also needs Option2 Value and Option3 Value. The option and SKU columns only identify the variant: the import does not change option values or SKUs. An inventory CSV can't exceed 15 MB.

All states rows: S goes from 10 to 12 at Shop location and gets 5 at Warehouse, where it was not stocked; M is not changed.
RecordHandleOption1 ValueLocationOn hand (current)On hand (new)
1organic-teeSShop location1012
2organic-teeSWarehousenot stocked5
3organic-teeMShop location4(empty)

Record numbers exclude the header. (empty) marks an empty cell.

1. Stock changed after your export

When a file has both On hand (current) and On hand (new), Shopify compares On hand (current) with the stock in your store. If the stock changed after your export, for example because of a sale, the affected rows are not imported, and you get an email with the details (Shopify Help).

In our test import, the row with an outdated On hand (current) was skipped and the other rows of the same file were applied. Shopify's email named the row, the count in the store and the count in the file.

Fix: export the inventory again, enter the new counts in On hand (new) of the fresh file and import it soon after. Shopify Help allows skipping the check in emergencies by clearing the On hand (current) column, but that removes the protection against overwriting recent changes.

2. The location name does not match

The location name is case-sensitive and must match the name of your Shopify location exactly. Include a row for each location where you want to change stock, and remove the other location rows (Shopify Help). In our test import with two locations, the rows of each location were applied independently.

3. Whole numbers, empty cells and Not stocked

  • Whole numbers only: positive, negative or 0, but no decimals such as 1.5 (Shopify Help).
  • An empty On hand (new) leaves the quantity as it is. Fill it in for every row you want to change.
  • Not stocked is the value for a product never stocked at that location. In our test store, the export wrote not stocked in every quantity column of such a row. To start stocking it there, keep that value in On hand (current) and enter the count in On hand (new), as in Shopify Help's example of a new location.
12.5 is not a whole number: write 12 or 13.
RecordHandleOption1 ValueLocationOn hand (current)On hand (new)
1organic-teeSShop location1012.5

Record numbers exclude the header.

4. The quantity column of a product CSV

Inventory quantity in a product CSV applies only to a store with a single location. With several locations, import stock with the inventory CSV (Shopify Help). In our test import into a store with two locations, the quantities in a product CSV set no stock at all: every new variant had 0 on hand. The same products got their stock from an inventory CSV.

5. You set On hand, not Available

The All states file changes the on-hand count. Available is what you can sell: units that are committed (for example in an unfulfilled order) or set aside as unavailable are not available (Shopify Help). So Available can be lower than the number you entered in On hand (new). The columns marked (not editable) can't be changed by an import.

6. Packed dimensions differ between the rows of a variant

The four Variant Packed columns belong to the variant, not to a location. Every row of a variant must repeat the same values, and blank cells on one row count as different from filled ones on another. Otherwise none of that variant's rows are imported; the rest of the file is not affected (Shopify Help).

What the free Shopify check reports

CatalogDock's Shopify Check reads your file in your browser and lists these problems with their record and column. It never changes the file.

Reported for you to decide

  • Quantities that are not whole numbers, Not stocked in On hand (new), and new counts without On hand (current), which Shopify does not compare.
  • The same variant and location twice, one location written in different letter cases, a missing Handle or Option1 Value, and packed dimensions that differ between the rows of a variant.
  • A file in the Available form, which has no protection against overwriting.

Needs data from your store

Whether your locations exist and what the stock is now: Shopify compares On hand (current) at import time.

Still failing? Related guides

Import a file with only the product that fails, so you know which rows cause the error. If the guides do not explain it, send Shopify Support the exact text of the error: Shopify Help points there for problems it does not list.

Check your inventory CSV before importing

CatalogDock checks the rows, locations and quantities of your Shopify inventory CSV in your browser, free. To update stock from a supplier price list, Update builds an All states file from your fresh export, with On hand (current) kept, for the locations you choose.

Runs in your browser · No files uploaded · Never connects to your store

Sources

Shopify Help, read on :

Where this page says in our test import, the result comes from small files imported into our Shopify development store in October 2026 and read back from its exports. One store and a few products: your store can behave differently.

Applies to Shopify's own CSV import: Products → Import for products and Products → Inventory → Import for stock. Shopify can change its import at any time; the sources above are dated. CatalogDock's Shopify support is in beta.