Skip to content

Inventory

How inventory items, stock locations, and variant availability work in EdgeCart.

Inventory in EdgeCart is managed at the variant level. An inventory item records stock for a variant at a stock location; the cart and checkout read the resulting availability.

Key concepts

Concept Meaning
Inventory item The stock record linked to a variant.
Stock location Where the stock is held.
Available quantity The quantity the storefront can sell.

What the admin can do

The product editor can link an existing inventory item to a variant. It does not create inventory items, stock locations, or edit stock levels.

What is API-only

The Admin API manages the full inventory model:

  • create inventory items,
  • create stock locations,
  • link items to variants,
  • adjust stock levels.

Use the API reference and the Catalog module for the surrounding product model.

Verify

  • The variant shows the inventory item link in the product editor.
  • The storefront reports the variant as available only when stock rules allow.

Type to search…

↑↓ navigate↵ selectEsc close