> ## 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.

# WarehouseLayoutRack

> One rack, shelf unit or floor spot, taking up one grid cell. Its bins are named from `row`, `name`, `levels` and `positions` with the store's bin naming setting (by default ROW-RACK-LEVEL-POSITION, so row A, rack 1, level 2, position 3 is bin A-1-2-3), or from `binTemplates` when it has any; `customBins` adds names of their own. Pickers reach the rack from the walkway cells on its `accessibleSides`.

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

The sides a picker stands on to reach the rack. Each must face a walkway cell.

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

Patterns that name the rack's bins in place of `levels` and `positions`. Empty uses `levels` and `positions`.

**fields**

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

SECONDARY marks these bins secondary pick locations. Null follows the rack's `priority`.

**sellable** `Boolean`

Whether stock in these bins can be sold and picked for orders. Null follows the rack's `sellable`.

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

The type of the bins this pattern names. Null only for a rack with a single pattern whose types come from `levelStorageTypes`, counting the first range in the pattern as the level.

**template** `String!` *required*

The pattern.

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

Bins with names of their own, added to the others.

**fields**

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

The bin's full name.

**sellable** `Boolean`

Whether its stock can be sold. Null follows the rack.

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

The bin's type, unless the rack sets `storageType`.

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

Storage types by level, for bins named from `levels` and `positions` or a single untyped template.

**fields**

**fromLevel** `Int!` *required*

The first level of the run, from 1 at the bottom.

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

The type of the bins on these levels.

**toLevel** `Int!` *required*

The last level of the run, inclusive.

**levels** `Int!` *required*

The number of shelves or levels, counted from 1 at the bottom.

**name** `String`

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

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

How this rack builds bin names instead of the store's setting. Null uses the store's setting.

**fields**

**minDigits** `Int`

Numeric parts are zero-padded to this many digits: 2 makes level 1 `01`. Null uses the store's setting.

**parts** `[\[WarehouseLayoutBinNamePart!\]!](/docs/api-reference/v3/reference/inventory/warehouse-layout-bin-name-part)` *required*

The parts in each bin name, always in the order ROW, RACK, LEVEL, POSITION, joined by `-`.

**positionMode** `[WarehouseLayoutPositionMode](/docs/api-reference/v3/reference/inventory/warehouse-layout-position-mode)`

How `positions` spread over the levels. Null uses the store's setting.

**overhead** `Boolean!` *required*

Whether the rack is overhead storage that pickers can walk underneath, so its cell stays walkable.

**positions** `[String!]!` *required*

The position labels on a level, left to right, such as 1, 2, 3 or A, B. Each level repeats them unless `naming.positionMode` spreads them.

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

SECONDARY makes every bin in the rack a secondary pick location, picked after primary bins.

**row** `String`

The ROW part of its bin names, usually the aisle or row letter. Racks with the same row are picked as one run when the store routes pickers row by row.

**sellable** `Boolean!` *required*

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. Null types them by level, template or custom bin, BIN by default.

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

The rack's column.

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

The rack's row on the grid.


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