Skip to content
DEV preview — API version 1.0.0 — not the public production site — Development API: dev-api.theprioryshop.co.uk

Inventory Stock

GET /v1/inventory/stock. Required scope: inventory.stock.read. Paginated.

productId, storeId, sku, barcode, name, trackStock (whether this product’s stock is tracked at all), stockQuantity (exact current quantity, as a string), reorderLevel (the threshold used to compute availability below), minimumStockLevel (informational only - see note), and availability.

inventory.stock.read is approved to return the exact stock quantity - this scope grants real stock visibility, deliberately, not just a coarse in-stock/out-of-stock signal.

A stable enum computed from trackStock and stockQuantity/reorderLevel:

ValueCondition
not_trackedtrackStock is false
out_of_stocktracked, stockQuantity <= 0
low_stocktracked, 0 < stockQuantity <= reorderLevel
in_stocktracked, stockQuantity > reorderLevel

minimumStockLevel is returned for completeness but is not used to compute availability - reorderLevel is. Don’t build low-stock logic against minimumStockLevel.

storeId, productId, sku, barcode, categoryId, updatedSince, lowStockOnly (only availability: "low_stock" rows), activeOnly (default true), plus page/pageSize.

Cost price, pack/unit cost, margin percent, stock cost layers, stock movement/adjustment history (who changed stock and why), supplier pricing, invoice/purchase history, and staff references. inventory.stock.read grants stock-level visibility, not financial inventory data.

  • Products - productId corresponds to a product’s id.
  • Inventory Sync - a practical polling pattern using updatedSince/lowStockOnly.