Autotask icon

Autotask

Work with Autotask PSA REST API resources

Actions125

Purchase Order Item → List Purchase Order Items

AI-generated

Summary

Lists items associated with a specific Purchase Order by querying the Autotask PurchaseOrderItems endpoint.

Inputs

  • parentId (required) — Numeric ID of the parent Purchase Order.
  • returnAll — Whether to return all results or only up to a given Limit.
  • limit — Max number of results to return.
  • includeFields — Optional comma-separated list of fields to include in the response. Leave blank to return all fields.
  • useAdvancedFilters — Whether to show advanced filter controls (row-builder + raw JSON). Leave off to filter only by the Quick Filters above.
  • advancedFilters — Add filter clauses by field name and operator. All clauses are joined with AND. For OR / nested logic, use Custom Filter (JSON) below.
  • filterJson — Raw Autotask filter array, merged with the rest. Use for OR groups, nested clauses, or any filter the UI above cannot express.
  • requestOptions — Impersonation Resource ID to use for this request.

Output shape

a list of items, each representing a Purchase Order Item

Pagination is handled automatically. If 'Return All' is false, results are limited by the 'Limit' parameter (default 50).

Examples

Example 1: List all items for a specific Purchase Order

Set Resource to 'Purchase Order Item', Operation to 'List Purchase Order Items', and enter the Purchase Order ID in the 'Purchase Order ID' field.

Example 2: Filter items by a specific field using advanced filters

Enable 'Use Advanced Filters' and add a filter clause (e.g., 'Line Item Number' equals '1').

Example 3: Return all items without pagination limits

Set 'Return All' to true and leave 'Limit' blank.

Links

Discussion