Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Material → ReservationOpAllocateStock

AI-generated

Summary

Allocate stock for a material reservation in Zen ERP

Inputs

  • id — Material reservation identifier (path parameter, default 0)
  • stockId — Stock identifier to allocate (query parameter, default 0)
  • quantity — Quantity of stock to allocate (query parameter, default 0)

Output shape

Array of items, each containing a JSON payload of the allocation result paired with its source workflow item index. Returns pairedItem metadata for downstream chaining.

Path param id and query params stockId and quantity are optional with numeric defaults. The operation is dispatched via the Zen ERP handler lookup; if the resource/operation combo is invalid, a NodeOperationError is thrown unless continueOnFail is enabled.

Discussion