Weclapp icon

Weclapp

Interact with the Weclapp ERP/CRM API

Actions136

Purchase Order → Update

AI-generated

Summary

Updates a Weclapp Purchase Order using its internal ID, accepting a collection of fields to modify.

Inputs

  • id (required) — The Weclapp internal ID of the record to update.
  • dryRun — Whether to validate the operation without persisting any changes.
  • updateFields — A collection of fields to update, including fields like Purchase Order Number, Status, Payment Method, Dates, and others.
  • customAttributes — A resource mapper to define custom attributes for the purchase order.
  • version — Entity version for optimistic locking. Send the value from a prior GET to prevent overwriting concurrent changes.

Output shape

The updated Purchase Order record.

If Dry Run is enabled, the record is validated but not persisted. The node returns the updated entity based on the input parameters.

Examples

Example 1: Update the status and purchase order number of a specific order.

Set ID to '12345', updateFields Purchase Order Number to 'PO-999', and Status to 'CONFIRMED'.

Example 2: Validate changes before committing.

Set ID and Dry Run to true, populate updateFields with desired changes.

Links

Discussion