Register a reusable slot classification
POST/location-types
Defines a LocationType — a kind of physical slot such as PalletRack, Shelf, ToteWall, BulkFloor, Staging or Amnesty (where a damaged or mismatched item is set aside during stow) — together with the default capacity envelope its slots inherit unless they override it. Both capacity dimensions must be strictly positive: a slot that can hold nothing is not a slot. Publishes LocationTypeRegistered. The names AutomatedStorage (role Storage), AsrsPort and HandoffPoint (role Drop) are well-known (ADR-0048): registering one with another role is 422 location-type-role-mismatch.
Request
Responses
- 201
- 400
- 409
- 422
- 500
Location type registered.
Response Headers
true when this response is the stored answer of an earlier request with the same Idempotency-Key (a 2xx or a refusal that cannot change on a retry); never present on the first execution, and never on a refusal that releases the key.
Path of the newly created LocationType.
Malformed input, or the Idempotency-Key header is absent (idempotency-key-required) or not 1-128 printable ASCII characters (idempotency-key-invalid) (ADR 0019).
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.
An unexpected failure, e.g. the datastore is unavailable.