Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Supply/Purchase → PurchaseOpCreate

AI-generated

Summary

Create a purchase operation record in the Zen ERP system by providing the purchase details, associated items, and optional payment information as a JSON object.

Inputs

  • Body (required) — Provide the purchase operation data as a JSON object including three fields: 'purchase' (an object with purchase details), 'items' (an array of items involved in the purchase), and optionally 'payments' (an array of payment details).

Output shape

a single JSON object representing the created purchase operation response from the Zen ERP API

The output is a single JSON object per input item reflecting the created purchase operation. If multiple input items are processed, multiple outputs will be returned, each paired to the corresponding input item. Errors are included as JSON objects if 'Continue On Fail' is enabled.

Discussion