Shopify import fix

Shopify: Inventory quantity must be zero or greater

The import tried to set a negative stock number. Shopify accepts negative inventory only after the product exists and overselling is explicitly allowed.

How to fix it

  1. Set every inventory quantity to 0 or a positive number in the file.
  2. Import the file so the products exist.
  3. Then, in Shopify admin, enable 'Continue selling when out of stock' per variant if you genuinely oversell.
  4. Re-sync stock from your source system.

How to avoid it next time

Never import negative numbers. Overselling is a setting on an existing product, not a column value.

Catch these before the import runs

The free Shopify CSV checker names the exact line for each problem. The paid Rescue Kit adds 20 more error cases, a template in Shopify's column order, and the same checker as a script for your pipeline.

See the Rescue Kit →

Inventory quantity is a stored number, and Shopify accepts negative values only after a product exists and the variant is explicitly configured to allow overselling. During import, a negative number is rejected because the setting that legitimises it does not exist yet.

Why a file exports negative numbers at all. Most inventory systems track available-to-sell as physical stock minus committed orders. When committed orders exceed physical stock — which happens routinely with preorders and backorders — the result is negative. That is a valid state inside the source system and an invalid one in a Shopify CSV.

The correct sequence. Import with quantity 0 or a positive number so the products exist. Then enable "Continue selling when out of stock" per variant in the admin. Then let your integration sync the true available-to-sell figure.

Why not clamp to zero in the file. You can, and it imports fine, but you have silently changed your inventory. If the source said -4, the file saying 0 hides four unfulfilled orders until someone reconciles.

Questions

Does negative inventory mean oversold?

Usually yes: committed orders exceed physical stock. It is a valid state in the source system.

Can I import negative numbers into an existing product?

Only if that variant already allows overselling. Otherwise the row is rejected.

What about zero?

Zero is accepted. It means in stock of nothing, which is a different statement from unknown.