Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Sale → SaleOpUpdatePrepared

AI-generated

Summary

Execute the SaleOpUpdatePrepared operation for the Sale resource.

Inputs

  • json — JSON body for the sale update operation. Defaults to an empty object if omitted. The body typically includes fields such as id, status, company, saleProfile, fiscalProfileOperation, workflow, workpiece, person, personAddressShipping, code, date, availabilityDate, personSalesperson, freightType, personShipping, priceList, currency, totalValue, pickingOrder, shipment, invoice, quote, tags, and properties, as declared in the node's property schema.

Output shape

json

Returns the ERP API response as a JSON object within the node's output item. If the operation returns an array, each item is emitted separately. If the operation returns undefined or is skipped, no item is produced. Errors are caught; when continueOnFail is enabled, an item with an 'error' json field is returned instead of throwing.

Examples

Example 1: Update a sale's prepared status

Set the 'json' parameter to a valid JSON object representing the sale record. The node will invoke the Zen ERP SaleOpUpdatePrepared operation and return the API response.

Discussion