Actions136
- Accounting Transaction Actions
- Article Actions
- Article Category Actions
- Comment Actions
- Currency Actions
- Document Actions
- Incoming Goods Actions
- Manufacturer Actions
- Party (Customer / Contact) Actions
- Purchase Invoice Actions
- Purchase Order Actions
- Quotation Actions
- Sales Invoice Actions
- Sales Open Item Actions
- Sales Order Actions
- Shipment Actions
- User Actions
- Variant Article Actions
- Warehouse Stock Actions
- Warehouse Stock Movement Actions
Purchase Order → Update
AI-generatedSummary
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.