Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Sale → SaleCreate

AI-generated

Summary

Create a sale in Zen ERP

Inputs

  • sale_saleCreate_bodyJson — JSON body for the sale creation. Includes fields such as id, status, company, saleProfile, saleProfile, fiscalProfileOperation, workflow, workpiece, person*, personAddressShipping, code, date, availabilityDate, personSalesperson, freightType, personShipping, priceList, currency, totalValue, pickingOrder, shipment, invoice, quote, tags, properties. All fields are optional unless specified by the Zen ERP API.

Output shape

Returns the created sale record as JSON items on the node's main output. Each item contains a json field with the API response.

The node processes input items on the main input; the operation is performed per item.

Examples

Example 1: Create a new sale record

Set the resource to 'Sale', operation to 'SaleCreate', and provide a JSON body with the desired sale properties via the Body parameter.

Discussion