Form this station's pick walk (ADR 0063)
POST/stations/:stationId/work-batches
Pick batching behind the PICK_BATCH_MODE rollout gate. The anchor is exactly the task POST /stations/{stationId}/task-claims with taskType: PICK would return (the same claimer selects it), so batching never changes who goes first; companions are the station's interleaving-hint candidates inside the anchor's CPT band, in hint rank order, kept only when the station can do them and the cart segregation matrix allows sharing, up to the configured maximum (default 4). A batch of one is valid; nothing waits for a batch to fill. With the mode not on (the fleet default is off) the surface answers 503 batch-mode-off and task-claims is the only dispatch path, exactly as before.
Request
Responses
- 200
- 201
- 400
- 404
- 409
- 500
- 503
The anchor was claimed as an ordinary single task because it has no pick face (ADR 0062): the claim stands, exactly as task-claims would have left it, and no walk was formed. batch is null.
Response Headers
Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.
The walk formed. Location names the batch read resource.
Response Headers
Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.
The Idempotency-Key header is missing (idempotency-key-required) or not 1-128 printable ASCII characters (idempotency-key-invalid) on a POST, or the request body could not be read or contains a NUL character (malformed-request-body), or the request body is malformed JSON, a required field is missing or empty, or a field value is invalid (e.g. a task type outside the TaskType enum).
No station is registered with this stationId.
The station holds no claimable PICK right now (no-claimable-task), or it already holds an OPEN batch (station-has-open-batch) — a station walks one batch at a time.
An unexpected server-side failure (e.g. a repository or event-publisher error).
PICK_BATCH_MODE is not on (the fleet default is off): the batch surface is explicitly off, not broken. Use POST /stations/{stationId}/task-claims.