Skip to main content
Documentation

Domain

Inventory capabilities

8 capabilities, all acting on a roll. A reference to one from another domain is spelled roll_id — never a bare id — and every one of those fields names the capability that produces it, so a model can chain calls without guessing.
CapabilityWhat it doesEffect
inventory.rollsPOST /api/v1/inventory/rollsList the film rolls on the shelf and how much is left on eachread-only
inventory.skusPOST /api/v1/inventory/skusList the products the shop buys rolls and materials inread-only
inventory.stock_levelsPOST /api/v1/inventory/stock_levelsTotal the stock left per product across every roll on the shelfread-only
inventory.valuationPOST /api/v1/inventory/valuationTotal what the film rolls on the shelf are worth at costread-only
inventory.consumptionPOST /api/v1/inventory/consumptionShow what came off the rolls, and which job took itread-only
inventory.purchase_ordersPOST /api/v1/inventory/purchase_ordersList the purchase orders bringing new rolls and stock inread-only
inventory.remnantsPOST /api/v1/inventory/remnantsList the usable offcuts left over from cut film rollsread-only
inventory.purchase_orderPOST /api/v1/inventory/purchase_orderGet one purchase order — every roll ordered, and what landedread-only

← Every domain