Actions125
- Ticket Actions
- Ticket Note Actions
- Ticket Attachment Actions
- Company Actions
- Company Note Actions
- Company Attachment Actions
- Contact Actions
- Resource (Employee) Actions
- Contract Actions
- Contract Note Actions
- Project Actions
- Project Note Actions
- Task Actions
- Task Note Actions
- Time Entry Actions
- Configuration Item Actions
- Configuration Item Note Actions
- Product Actions
- Opportunity Actions
- Quote Actions
- Quote Item Actions
- Service Call Actions
- Invoice Actions
- Subscription Actions
- Inventory Item Actions
- Purchase Order Actions
- Purchase Order Item Actions
Purchase Order Item → Update Purchase Order Item
AI-generatedSummary
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}
