> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WarehouseLayoutUpdateInput

> Replaces a warehouse's layout.

**dryRun** `Boolean`

True checks the layout and returns the bins it would add and remove, saving nothing.

**expectedUpdatedAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

The `updatedAt` of the layout you read. When the layout has been saved since, the update fails with WAREHOUSE\_LAYOUT\_STALE instead of overwriting that change. Omit only to replace whatever is there.

**layout** `[WarehouseLayoutInput!](/docs/api-reference/v3/reference/inventory/warehouse-layout-input)` *required*

The whole new layout. Anything left out is removed.

**fields**

**height** `Int`

The grid's height in cells, at most 500, and width x height at most 250000. Omit for one walkway row past the lowest one.

**pickEnd** `[WarehouseLayoutPointInput](/docs/api-reference/v3/reference/inventory/warehouse-layout-point-input)`

Where pick routes end, such as packing. A route finishes at the rack nearest this cell.

**fields**

**x** `Int!` *required*

The column, from 0 at the left.

**y** `Int!` *required*

The row, from 0 at the top.

**pickStart** `[WarehouseLayoutPointInput](/docs/api-reference/v3/reference/inventory/warehouse-layout-point-input)`

Where pick routes start, such as the cart pickup. A route begins at the rack nearest this cell.

**fields**

**x** `Int!` *required*

The column, from 0 at the left.

**y** `Int!` *required*

The row, from 0 at the top.

**racks** `[\[WarehouseLayoutRackInput!\]!](/docs/api-reference/v3/reference/inventory/warehouse-layout-rack-input)` *required*

The racks, at least 2 and at most 20000, each on its own cell.

**fields**

**accessibleSides** `[\[WarehouseLayoutSide!\]!](/docs/api-reference/v3/reference/inventory/warehouse-layout-side)` *required*

The sides pickers reach the rack from, 1 to 4. Each should face a walkway cell, and every rack must be reachable from every other.

**binTemplates** `[\[WarehouseLayoutBinTemplateInput!\]](/docs/api-reference/v3/reference/inventory/warehouse-layout-bin-template-input)`

Patterns that name the bins in place of levels and positions, at most 50.

**customBins** `[\[WarehouseLayoutCustomBinInput!\]](/docs/api-reference/v3/reference/inventory/warehouse-layout-custom-bin-input)`

Bins with names of their own, at most 1000.

**levelStorageTypes** `[\[WarehouseLayoutLevelStorageTypeInput!\]](/docs/api-reference/v3/reference/inventory/warehouse-layout-level-storage-type-input)`

Storage types by level; other levels are BIN.

**levels** `Int`

Shelves or levels, 1 to 100, counted from 1 at the bottom.

**name** `String`

The RACK part of its bin names, often its number within the row. Omit to name it `R<x>-<y>`.

**naming** `[WarehouseLayoutRackNamingInput](/docs/api-reference/v3/reference/inventory/warehouse-layout-rack-naming-input)`

Overrides the store's bin naming for this rack.

**overhead** `Boolean`

True for overhead storage pickers walk underneath.

**positions** `[String!]`

Position labels on each level, at most 500, such as \["1", "2", "3"]. Needed for bins named by levels and positions; ignored with `binTemplates`.

**priority** `[StorageLocationPriority](/docs/api-reference/v3/reference/inventory/storage-location-priority)`

SECONDARY makes every bin a secondary pick location.

**row** `String`

The ROW part of its bin names, usually the aisle or row letter. Racks of one row with the same name would name the same bins, which is refused.

**sellable** `Boolean`

Whether stock in the rack's bins can be sold and picked for orders.

**storageType** `[StorageLocationType](/docs/api-reference/v3/reference/inventory/storage-location-type)`

Makes every bin in the rack this type: BIN, STORAGE, RECEIVING, STATION, SORTING\_TOTE or MESH\_BAG.

**x** `Int!` *required*

The rack's column.

**y** `Int!` *required*

The rack's row on the grid.

**stations** `[\[WarehouseLayoutStationInput!\]](/docs/api-reference/v3/reference/inventory/warehouse-layout-station-input)`

The stations. A station missing from the list is removed.

**fields**

**name** `String!` *required*

A name unique in the warehouse, 1 to 100 characters.

**x** `Int!` *required*

The station's column.

**y** `Int!` *required*

The station's row.

**walls** `[\[WarehouseLayoutWallInput!\]](/docs/api-reference/v3/reference/inventory/warehouse-layout-wall-input)`

Walls pickers can't walk through.

**fields**

**from** `[WarehouseLayoutPointInput!](/docs/api-reference/v3/reference/inventory/warehouse-layout-point-input)` *required*

One end.

**to** `[WarehouseLayoutPointInput!](/docs/api-reference/v3/reference/inventory/warehouse-layout-point-input)` *required*

The other end, in the same row or column.

**width** `Int`

The grid's width in cells, at most 500. Omit for one walkway column past the furthest rack, station or start or end point.

**zones** `[\[WarehouseLayoutZoneInput!\]](/docs/api-reference/v3/reference/inventory/warehouse-layout-zone-input)`

Pick zones in the order a tote visits them, at most 9. Give none to pick without zones.

**fields**

**binPatterns** `[\[WarehouseLayoutZoneBinPatternInput!\]](/docs/api-reference/v3/reference/inventory/warehouse-layout-zone-bin-pattern-input)`

Bin name patterns that also put bins in the zone. Not on the default zone.

**default** `Boolean`

Makes this the default zone, which holds every bin no other zone claims. At most one.

**id** `String!` *required*

An id unique in the layout, such as `north`. Reuse a zone's id to keep it.

**name** `String!` *required*

The zone's name.

**rectangles** `[\[WarehouseLayoutZoneRectangleInput!\]](/docs/api-reference/v3/reference/inventory/warehouse-layout-zone-rectangle-input)`

The cells it covers, not overlapping other zones. Leave empty for the default zone.

**locationId** `ID!` *required*

The warehouse location. Find one with `locations`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.