Pennylane icon

Pennylane

Interact with Pennylane accounting API

Purchase Request → List

AI-generated

Summary

Retrieve a list of purchase requests from Pennylane with optional pagination using a cursor and limiting the number of results returned.

Inputs

  • Filters — Optional filters for the list operation including 'Cursor' for pagination and 'Limit' to specify the maximum number of results to return (1-100).
  • Request Options — Advanced request settings such as batching controls (items per batch and interval), whether to ignore SSL certificate validation, HTTP proxy configuration, and request timeout in milliseconds.

Output shape

a list of purchase request objects as returned by the Pennylane API

The list supports pagination through the 'cursor' filter parameter. The maximum number of purchase requests returned per call can be controlled by the 'limit' parameter, defaulting to 20. Batching options apply when making multiple requests in workflows that might require throttling.

Examples

Example 1: List the first 20 purchase requests without filters.

Set no cursor, limit to 20 (default).

Example 2: List the next page of purchase requests using a cursor.

Provide the cursor value from the previous response in the 'Cursor' filter field.

Discussion