Autotask icon

Autotask

Work with Autotask PSA REST API resources

Actions125

Purchase Order → List Purchase Orders

AI-generated

Summary

Queries and returns a list of Purchase Orders from Autotask based on optional filters and pagination settings.

Inputs

  • Return All — When enabled, fetches all matching Purchase Orders without a hard limit; otherwise, the Limit parameter applies.
  • Limit — Maximum number of Purchase Orders to return (applies only when Return All is disabled; defaults to 50).
  • Include Fields — Comma-separated list of field names to include in the response (e.g., id,name,createDate); omit to return all fields.
  • Use Advanced Filters — Enables advanced filter controls; by default, only quick filters are active.
  • Advanced Filters — Collection of filter clauses (field, operator, value) joined with AND; visible only when Use Advanced Filters is enabled.
  • Custom Filter (JSON) — Raw Autotask filter array (JSON) for complex logic such as OR groups or nested clauses; visible only when Use Advanced Filters is enabled.
  • Header Overrides — Optional collection of request headers, including Impersonation Resource ID to override the credential default.

Output shape

A list of items, each representing a Purchase Order with all Autotask fields.

The node uses pagination to fetch results in batches of up to 500 records. If no filters are provided, a match-all filter (gte id 0) is used to return all records.

Examples

Example 1: Fetch all active Purchase Orders without a count limit.

Return All: true; Quick Filters: Is Active = 'true'

Example 2: Retrieve up to 10 Purchase Orders for a specific company.

Return All: false; Limit: 10; Quick Filters: Company = [Company ID]

Example 3: Find Purchase Orders created within a date range using advanced filters.

Use Advanced Filters: true; Advanced Filters: createDate >= '2023-01-01' AND createDate <= '2023-12-31'

Links

Discussion