Skip to main content

CreateTaskRequest

typeTaskTyperequired

The process path a task belongs to. REBIN tasks are not creatable through POST /tasks by HTTP-only callers in practice — they arrive via the WorkReleased Kafka event's rebin path (see the process-path catalogue) — but they exist in the task store and therefore appear in read-model responses alongside PICK/PACK/SLAM.

Possible values: [PICK, PACK, SLAM, REBIN, DISPATCH, ARRIVAL]

Example: PICK
cptstring<date-time>required

Critical Pull Time — the deadline driving dispatch priority. claimNext always selects the earliest-CPT pending task a station qualifies for.

Example: 2026-01-01T18:00:00Z
orderRefstringrequired

The originating order/work-unit reference (opaque to this service). Must be non-empty: the API treats "" as a missing field and rejects it with 400.

Possible values: non-empty

Example: order-42
requiredCapabilitiesstring[]required

Capabilities a claiming station's capability set must be a superset of. This is an open, freeform list of strings, not a closed enum — known values in active use include pick, pack, slam, and hazmat (hazmat is matched by the same generic capability-set mechanism as any other value; no special handling exists or is needed for it).

Possible values: >= 1

fragilebooleannullable

A packing hint, not a placement or capability-matching signal: true if this task's upstream order line was classified Fragile by inventory-storage's ProductClassification concept, as stamped onto the WorkReleased event by wes-work-planning at release time. Optional and defaults to false for backward compatibility with any producer that predates this field; an explicit null is accepted and treated the same as omission (false).

Default value: false
CreateTaskRequest
{
"type": "PICK",
"cpt": "2026-01-01T18:00:00Z",
"orderRef": "order-42",
"requiredCapabilities": [
"pick"
],
"fragile": false
}