Skip to main content
Experimental. This Module has no test or production evidence recorded yet. Read it, run it locally, and hold off on real Orders. See maturity levels.
The Inventory Module tracks stock for products and variants: current levels, reservations during Checkout, manual adjustments, and low-stock reporting. Browser input never changes Inventory. Stock moves through server-side commerce operations.
The Products package still stores its own Inventory fields, and cross-Module events are not a durable outbox. Verify which record is authoritative, and how retries and oversell behave, before you connect Inventory to live Checkout or Orders.
Source: modules/inventory · npm: @86d-store/inventory

Installation

Configuration

Store endpoints

Admin endpoints

Events

Stock also decrements when the Orders Module records order.placed.

Components

  • <StockBadge inventory={n} />: Storefront badge (“In stock”, “Only X left”, “Out of stock”).
  • <InventoryWidget />: inline Store Admin widget for adjusting stock.