Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions1078

Purchase Approval → Update

AI-generated

Summary

Updates an existing Purchase Approval record in Autotask via the API.

Inputs

  • id (required) — The ID of the purchase approval to operate on
  • dryRun — Whether to return a request preview instead of executing the operation. Useful for testing and validation. When enabled, no API call is made. Instead, returns the request details that would be sent. No changes are made to Autotask.
  • fieldsToMap (required) — A resource mapper configuration defining which fields to update and their new values.

Output shape

a single record

The returned record contains the updated data. When Dry Run is enabled, the request details are returned instead of a record.

Examples

Example 1: Update a specific approval status

Set 'Purchase Approval ID' to the target ID, enable 'Dry Run' to preview the request, and use 'fieldsToMap' to define the new status.

Example 2: Save a successful update

Disable 'Dry Run' and configure 'fieldsToMap' to set the desired fields (e.g., status or approver) to commit the change.

Links

Discussion