Design warehouse-level inventory with SKUs, reservations, transfers between locations, and cycle counts. Consistency across channels prevents oversell and stockouts.
Functional requirements
- Track on-hand, reserved, and available quantities per location
- Receive inbound shipments and adjust stock
- Transfer stock between warehouses
- Expose availability to sales channels via APIs
Non-functional requirements
- Serializable inventory movements under concurrency
- Auditable ledger of quantity changes
- Integration-friendly idempotent APIs