Assignments
FulfillmentAssignment, one per shipment group of a customer order.
List fulfillment assignments (ListAssignments)
Filters combine with AND; an empty result is 200 with an empty list. nodeId matches the current candidate node (QUEUED), or the node of the latest release (RELEASED and later). Results are ordered by assignmentId ascending (keyset pagination: limit and cursor, nextCursor is absent on the last page).
Get one fulfillment assignment (GetAssignment)
One assignment with its release history, excluded nodes and current candidate.
Re-optimise a queued assignment now (ReoptimiseAssignment)
Re-runs the candidate search (AssignmentCost = legs + crossRegionPenalty + scorecardPenalty + bookPressurePenalty, ties to the witness node) over the current read models, skipping excluded nodes and any candidate whose eta is after deliverByLatest. Allowed only while QUEUED. If the best node changes the assignment moves (FulfillmentReassigned is published) and releaseAt follows the new candidate (VirtualQueue); if no candidate is left the assignment becomes UNSOURCEABLE at once (FulfillmentUnsourceable, gap G26). A repeat on unchanged read models changes nothing. A retry with the same Idempotency-Key replays the stored response for 24 hours when it is final (a 200, malformed-request or assignment-locked); a refusal that state can still change is not stored and the retry runs again. The same key with another request is 409 idempotency-key-reused.