Synca Priority ERP API

Interact with Custom API for Orders, Items, Customers, and Purchase Orders

Actions6

Purchase Order → Update

AI-generated

Overview

This node updates an existing Purchase Order record in the Synca Priority ERP system. It is useful for scenarios where you need to modify details of a purchase order, such as changing quantities, updating supplier information, or adjusting order status. For example, a user can update a purchase order's delivery date or add new items to the order by providing the purchase order ID and the updated data in JSON format.

Use Case Examples

  1. Updating a purchase order's status to 'Completed' by specifying the purchase order ID and the new status in the data field.
  2. Modifying the quantity of items in a purchase order by providing the purchase order ID and the updated item quantities in JSON format.

Properties

Name Meaning
Credentials Select the credentials to use for authenticating with the Synca Priority ERP API.
Additional Fields Optional parameters to control the query such as number of records to return (Top), number of records to skip (Skip), filter expressions, fields to select, and fields to expand.
ID ID of the purchase order record to update.
Data JSON data containing the fields and values to update in the purchase order record.

Output

JSON

  • json - The updated purchase order record returned from the API.

Dependencies

  • SyncaService for API interaction with Synca Priority ERP

Troubleshooting

  • Ensure the provided purchase order ID exists; otherwise, the update will fail.
  • Verify that the JSON data is correctly formatted and contains valid fields for the purchase order.
  • Check that the selected credentials have the necessary permissions to update purchase orders.
  • Common error messages may include authentication failures, invalid ID errors, or malformed JSON data errors. Resolving these involves verifying credentials, confirming the ID, and validating the JSON structure.

Discussion