# Location type


A bin in a warehouse, also called a position.

## Fields

### id

[`UUID!`](/chameleoon-max/type/uuid)

The bin's MAX id.

### warehouseId

[`UUID!`](/chameleoon-max/type/uuid)

The warehouse's MAX id.

### code

`String!`

The bin's code. Unique per warehouse and zone.

### name

`String`

The bin's name. Null when it has none.

### kind

[`LocationKind!`](/chameleoon-max/type/location-kind)

The bin's kind.

### pickable

`Boolean!`

Whether reservations, and so picking, take from this bin.

### zoneCode

`String`

The code of the bin's zone. Null without a zone. It tells apart two bins with one code.

### archived

`Boolean!`

Whether the bin is archived.

## Used by

- [`BinRefill`](/chameleoon-max/type/bin-refill)
- [`BinRefillSource`](/chameleoon-max/type/bin-refill-source)
- [`LocationConnection`](/chameleoon-max/type/location-connection)
- [`LocationEdge`](/chameleoon-max/type/location-edge)
- [`StockSourceLine`](/chameleoon-max/type/stock-source-line)
