Autotask icon

Autotask

Work with Autotask PSA REST API resources

Actions125

Purchase Order → Update Purchase Order

AI-generated

Summary

Updates a specified Autotask Purchase Order by sending a PATCH request to the API.

Inputs

  • entityId (required) — Numeric ID of the purchase order to update.
  • payloadJson (required) — JSON object containing the fields to update. The 'id' field is automatically merged into the body by the node.
  • requestOptions — Optional header overrides, including an Impersonation Resource ID to act as a different user.

Output shape

a single record (the updated Purchase Order)

The node automatically includes the Purchase Order ID in the request body as required by the Autotask API.

Examples

Example 1: Update purchase order status

Entity ID: 1234, Payload: {"status": 5}

Example 2: Update order total and status

Entity ID: 5678, Payload: {"totalAmount": 5000, "status": 3}

Links

Discussion