Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Sale → SalePaymentUpdate

AI-generated

Summary

Updates a sale payment in Zen ERP using a provided JSON body.

Inputs

  • sale_salePaymentUpdate_bodyJson — JSON body containing fields: id, sale, type, term, value, assetTag, tags, properties. Type descriptors (e.g., <integer*>) indicate expected types but are not validated strictly by the node schema; the body is passed as-is to the handler.

Output shape

JSON item(s) representing the updated sale payment, emitted on the main output. If the operation fails and continueOnFail is enabled, an error JSON item is emitted instead.

The node processes each input item independently; the body JSON is read per-item via getNodeParameter.

Examples

Example 1: Update a sale payment record

Provide the sale payment ID and updated fields in the body JSON. The node requires the zenApi credential and a resource set to 'Sale' with operation 'SalePaymentUpdate'.

Discussion