Feedguard

Guides · Updated 2026-10-22

Shopify inventory CSV template for supplier stock files

What columns a supplier stock file needs to update Shopify inventory, a simple template, and the formatting mistakes that cause wrong or skipped updates.

If you're asking a supplier for a stock file, or building one yourself, a simple layout saves a lot of trouble later. Here is what the file needs, what to leave out, and how it differs from Shopify's own inventory CSV.

The columns you need

  • An identifier: the SKU, or the barcode (EAN, UPC), exactly as it appears on your Shopify variants.
  • A quantity: how many units are available to sell.
  • Optional: price, compare-at price and cost, if you want those to follow the supplier too.

Column names go in the first row, one variant per row after that. A minimal template looks like this:

skuquantitypricecost
TSHIRT-BLK-M2419.998.50
TSHIRT-BLK-L019.998.50
MUG-WHT-0113012.004.10

Product titles, descriptions and images don't belong in a stock file; they make it larger without helping the match.

Formatting pitfalls

  • Text instead of numbers. ">50", "In stock" or "Sold out" are common in supplier files. Decide what each should mean (for example, ">50" as 50 and "In stock" as 10) rather than guessing per row.
  • Leading zeros. Excel often turns "00123" into "123", and long barcodes into something like "5.01E+12". Format those columns as text before saving.
  • Duplicate rows. If the same SKU appears twice with different quantities, only one can win. Remove duplicates, or at least know which row will be used.
  • Blank cells. An empty quantity is not the same as 0. It's safer to skip the item than to mark it sold out.
  • Thousand separators and currencies. "1,200" and "$19.99" are easy for people to read but can trip up a strict import.

Shopify's inventory CSV vs a supplier feed

Shopify's own import (Products → Inventory → Import) expects its own layout, with columns such as Handle, SKU, Location and the quantity columns. The exact columns can change over time, so the safest template is a fresh export from your store. It works well for one-off corrections, but the supplier's file won't be in that layout, and you have to repeat the import every time stock changes.

A supplier feed is the supplier's own file, in their own layout, read on a schedule. You map their columns to your fields once, and every later file is read the same way.

How Feedguard reads messy files

Feedguard accepts CSV, TSV, Excel, XML and JSON, works out the delimiter, and lets you choose the row that holds the column names. It reads ">50" as 50, "In stock" as a number you choose, "Sold out" and negative numbers as 0, and prices like "1.299,00 €". Blank or unreadable quantities are skipped and listed, not set to zero. You can ignore leading zeros when matching, and if a SKU appears twice in the file, the last row is used and you get a warning. Variants that don't track inventory in Shopify are skipped and reported.

More guides