Skip to content

Warehouses (Admin)

Warehouses provides searchable, paginated list and detail for distribution nodes used with inventory flows. Matches admin table patterns (debounced search, 10/page).


GoalsNon-goals
Maintain warehouse reference dataOptimize pick paths or WMS integration
Link to inventory semanticsDocument 3PL contracts

  • 400ms debounced search; pagination 10; detail at /dashboard/warehouses/:id.

  1. Open Warehouses → search → open detail.
  2. Create/edit per UI if routes exist (see body).

  • Physical address and access contacts may be sensitive—role-gate exports.

IDScenarioExpected
W1ListSearch + pagination
W2DetailLoads warehouse context
W3Zone scopeData limited per admin zone rules

PathPurpose
/dashboard/warehousesPaginated, searchable list
/dashboard/warehouses/:idWarehouse detail
  • Search — debounced (400ms), resets to page 1.
  • Pagination10 rows per page.
  • Stats — total row count (from list meta) and a count of active warehouses on the current page (rows with status === 1).
  • Rows are mapped from API data via adminWarehouseToRow for display; opening a row navigates to /dashboard/warehouses/:id.

Warehouses are the inventory location layer; stores are the commercial / vendor-facing unit. Stock and lots in the admin UI connect warehouses to products and suppliers on detail and related flows (see Catalog and products and supplier detail).