Autotask icon

Autotask

Work with Autotask PSA REST API resources

Actions125

Purchase Order → Delete Purchase Order

AI-generated

Summary

Deletes a specific Purchase Order from Autotask using its numeric ID.

Inputs

  • entityId (required) — Numeric ID of the purchase order to delete.
  • requestOptions — Collection of options. Use 'Impersonation Resource ID' to override the credential's default user context for this request.

Output shape

No body — returns the deleted record (wrapped in an item) or an error item if the request fails.

Returns a single item containing the deleted record's data if successful; otherwise returns an item with an 'error' field.

Examples

Example 1: Delete a single purchase order by ID

Resource set to 'Purchase Order', Operation set to 'Delete Purchase Order', entityId set to '12345'

Example 2: Delete multiple purchase orders in a loop

Use an Array node to provide multiple IDs, each mapped to the node's entityId parameter

Links

Discussion