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

# WarehouseLayoutRackInput

> One rack, shelf unit or floor spot on one grid cell. For a run of shelving, give one rack per cell, all with the same `row` and numbered `name`s. Its bins are named row-rack-level-position by default: row A, rack 1, level 2, position 3 is A-1-2-3.

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

**fields**

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

SECONDARY marks them secondary pick locations. Omit to follow the rack.

**sellable** `Boolean`

Whether their stock can be sold. Omit to follow the rack.

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

The type of the bins it names: BIN, STORAGE, RECEIVING, STATION, SORTING\_TOTE or MESH\_BAG. Omit for BIN; a rack's only pattern without a type, sellable or priority types its bins by `levelStorageTypes` instead.

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

The pattern, at most 200 characters, such as `{ROW}-{RACK}-{1-4}-{A-C}`.

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

Bins with names of their own, at most 1000.

**fields**

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

The bin's full name.

**sellable** `Boolean`

Whether its stock can be sold. Omit to follow the rack.

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

The bin's type: BIN, STORAGE, RECEIVING, STATION, SORTING\_TOTE or MESH\_BAG.

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

Storage types by level; other levels are BIN.

**fields**

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

The first level, from 1 at the bottom.

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

The type: BIN, STORAGE, RECEIVING, STATION, SORTING\_TOTE or MESH\_BAG.

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

The last level, inclusive.

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

**fields**

**minDigits** `Int`

Zero-pads numeric parts to this many digits, 0 to 10. Omit to use the store's setting.

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

The parts in each name, 1 to 4 of them. They are always joined in the order ROW, RACK, LEVEL, POSITION, with `-`.

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

How `positions` spread over the levels. Omit to use the store's setting.

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


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