Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Material → MovingOrderItemUpdate

AI-generated

Summary

Updates a moving order item in Zen ERP for Material resources.

Inputs

  • material_movingOrderItemUpdate_bodyJson — JSON body for the moving order item update, processed as a collection parameter defaulting to an empty object. Contains an option 'json' with a structured payload describing the fields to update (id, movingOrder, status, address, stock, quantity, quantityLoaded, quantityUnloaded, user, tags, properties). The node's execute method reads this parameter alongside the resource and operation parameters, resolves the MovingOrderItemUpdate handler via the operations metadata, and returns output data items accordingly.

Output shape

n8n data items, each containing a json field with the operation result and a pairedItem metadata field referencing the input item index. If continueOnFail is enabled, error objects are returned instead of throwing.

The source (ZenErp.node.js execute method) confirms the node processes items in a loop, resolves the target handler from operations[resource][operation], and returns wrapped results. The actual API-side update logic is delegated to the handler created by createHandler from ZenErp.helpers, but the input shape and return mechanism are as declared.

Examples

Example 1: Provide a JSON body matching the default schema to update a moving order item.

Set the Body parameter to a JSON object with the required fields (at minimum id and one update field such as quantity or status). The node will process the item and return the updated data as an n8n data item.

Links

Discussion