Appearance
UpsertWarehouseLocationInput
Type: Input
Full state of a warehouse location to create or replace. Every field is written, so omitted optional fields fall back to their defaults rather than being preserved.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| code | String | Short operator-facing code (barcode/label). Must be unique per tenant when set. | |
| description | String | Free-text notes about the location. | |
| id | WarehouseLocationID | TypeID ("wlc") of the location to replace. When omitted a new location is created; when supplied and unknown, it is created with that id. | |
| isActive | Boolean | Whether the location is available for use. Defaults to true when omitted. | |
| locationType | WarehouseLocationType | Kind of location. Defaults to WAREHOUSE when omitted. | |
| maxVolume | Float | Advisory volume capacity, in the tenant's volume unit. Omit for no limit. | |
| maxWeight | Float | Advisory weight capacity, in the tenant's weight unit. Omit for no limit. | |
| name | String! | Human-readable name of the location. Required and must not be blank. | |
| parentId | WarehouseLocationID | TypeID ("wlc") of the enclosing location. Omit for a top-level location; a location may not be its own parent. | |
| sortOrder | Int | Display-ordering hint among sibling locations. Defaults to 0 when omitted. |