Appearance
WarehouseLocationState
Type: Object
A warehouse location (warehouse, zone, aisle, rack, shelf, bin, etc.)
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| code | String | Short operator-facing code for the location (e.g. a barcode/label such as "A-01-03"). Unique per tenant when set; null when the location has no code. | ||
| createdAt | String! | ISO-8601 timestamp of when the location record was created. | ||
| description | String | Free-text notes about the location; null when none were supplied. | ||
| id | WarehouseLocationID! | TypeID of this warehouse location (prefix "wlc", e.g. "wlc_01K…"). | ||
| isActive | Boolean! | Whether the location is currently in use. Inactive locations are retained for history but should not be offered for new putaway or transfers. | ||
| locationType | WarehouseLocationType! | Kind of location, which fixes its role in the storage hierarchy. | ||
| maxVolume | Float | Volume capacity of the location, in the tenant's configured volume unit. Null means no volume limit is recorded. Advisory: it is not enforced when stock is placed here. | ||
| maxWeight | Float | Weight capacity of the location, in the tenant's configured weight unit. Null means no weight limit is recorded. Advisory: it is not enforced when stock is placed here. | ||
| name | String! | Human-readable name of the location. Never empty. | ||
| parentId | WarehouseLocationID | TypeID ("wlc") of the enclosing location, forming the storage hierarchy (e.g. a bin's parent shelf). Null for a top-level location such as a whole warehouse. A location can never be its own parent. | ||
| sortOrder | Int! | Manual ordering hint for displaying sibling locations; lower values come first. Defaults to 0. | ||
| updatedAt | String! | ISO-8601 timestamp of the last change to the location record; equal to createdAt until it is first updated. |