Siren

Fulfillment Bulk Actions

Performs batch operations on multiple fulfillments with enforced state transitions.

Last updated: April 9, 2026

Fulfillment Bulk Actions

POST /siren/v1/fulfillments/bulk

Performs an action on multiple fulfillments at once. This endpoint enforces valid state transitions. Invalid transitions are silently skipped.

Request Body

FieldTypeRequiredDescription
actionstringYesOne of: process, complete, fail, delete
idsinteger[]YesArray of fulfillment IDs to act upon

Action Behaviors and Valid Transitions

ActionStatus SetValid FromAuth Required
processprocessingpending onlyUpdate
completecompleteprocessing onlyUpdate
failfailedpending or processingUpdate
delete(record removed)any statusDelete

Records that do not meet the “Valid From” precondition are silently skipped. The affected count in the response reflects only the records that were actually changed.

Example

{
  "action": "process",
  "ids": [5, 6, 7]
}
{
  "success": true,
  "affected": 3
}