Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Supply/Purchase → PurchaseCreate

AI-generated

Summary

Create a new purchase record in the Zen ERP system using the specified JSON body data.

Inputs

  • Body (required) — Provide the purchase data as a JSON object with fields such as id, status, company, purchaseProfile, fiscalProfileOperation, workflow, workpiece, warehouse, person, personAddressShipping, code, dates, freightType, priceList, currency, totalValue, quote, purchaseSource, tags, and properties. This JSON configures all details of the purchase to be created.

Output shape

a single JSON object representing the created purchase record.

The operation returns the created purchase as a JSON object. If multiple input items are processed, the output includes corresponding created purchases. Errors produce error details in the item output when 'continueOnFail' is enabled.

Examples

Example 1: Create purchase with minimal required fields

Set the Body JSON to include at least an id, status, and company object to define and create a purchase record.

Discussion