LLDHub
Problems·Inventory Management System
L5 · Intermediate

Inventory Management System

Problem

Design an inventory system for an e-commerce warehouse with stock tracking, reordering, and multi-warehouse support.

Requirements

  • Track stock levels per product per warehouse
  • Reserve stock on order placement
  • Commit/release reservation on order confirm/cancel
  • Auto reorder when stock falls below threshold
  • Inventory transfer between warehouses
  • Audit trail for all inventory changes

Constraints

  • Stock can't go negative
  • Reservation expires after 30 minutes if not committed
  • Reorder quantity = (max_stock - current_stock)
✓ Saved