Autotask icon

Autotask

Work with Autotask PSA REST API resources

Actions125

Purchase Order Item → Update Purchase Order Item

AI-generated

Summary

Updates an existing Purchase Order Item in Autotask by sending a PATCH request with the specified fields and the item's ID in the request body.

Inputs

  • parentId (required) — Numeric ID of the parent Purchase Order.
  • entityId (required) — Numeric ID of the Purchase Order Item to update.
  • payloadJson (required) — JSON object containing the fields to update. The ID field is automatically merged into the body.
  • requestOptions — Optional header overrides, including Impersonation Resource ID.

Output shape

A single item with the updated Purchase Order Item data.

Returns the updated record from the Autotask API.

Examples

Example 1: Update an item's status.

Set parentId=123, entityId=456, payloadJson={'status': 1}

Example 2: Update multiple fields.

Set parentId=123, entityId=456, payloadJson={'status': 1, 'quantity': 5, 'unitPrice': 100.00}

Links

Discussion