Skip to main content

Get a zone as a 2D renderable grid

GET 

/zones/:zoneId/grid

The second "draw the warehouse" endpoint. Returns one Zone's slots as an explicit matrix: rows are Levels, columns are (Aisle, Bay) pairs in aisle SequenceHint walk order, and rows[i].cells is index-aligned with columns. A cell is literal JSON null wherever the rack has a gap; otherwise it lists the Positions at that coordinate. A UI iterates rows × columns and paints — no client-side layout maths.

Like the site layout this is a pure projection: no writes, no events.

Request​

Responses​

The zone's slots as a level × (aisle, bay) matrix.