Set a location slot's physical geometry
PUT/locations/:locationCode/geometry
Records a coded slot's physical position, footprint, and (optionally) an explicit pick-sequence override (ADR-0017). The slot must already exist and must not be Decommissioned. Publishes LocationGeometryUpdated.
Request
Responses
- 200
- 400
- 404
- 409
- 422
- 500
The location slot, with its new geometry.
Malformed input: a body that is not valid JSON, a location code that is not seven [A-Z0-9] segments, a missing required identifier, a query parameter outside its documented enum, an invalid limit / cursor or an undeclared query parameter on a paged collection, or a missing / malformed Idempotency-Key on a POST.
The named site, zone, aisle, slot, location type or placement rule does not exist.
A state conflict: a code already taken, a GS1 Global Location Number already assigned to another location (gln-already-assigned, ADR-0045), an aisle that already holds an active AutomatedStorage location (automated-storage-already-in-aisle, ADR-0048), a parent that exists but is no longer Active, or a slot already decommissioned. On a POST it is also the answer to an Idempotency-Key reused with a different method, path or body (idempotency-key-reused); the problem type tells the two apart.
Semantically invalid: a non-positive capacity, an unknown enum value, or a PlacementRule violation.
An unexpected failure, e.g. the datastore is unavailable.