Productive icon

Productive

Interact with the Productive API

Actions508

Line Items → Get line items

AI-generated

Summary

Retrieve line items from the Productive API with optional filtering, pagination, and limit controls.

Inputs

  • Return All — Boolean flag to return all line items or limit the number of results.
  • Limit — Maximum number of line items to return when Return All is false.
  • Page Number — Page number of results to retrieve when paginating and Return All is false.
  • Page Size — Number of line items to return per page (30 default, up to 200 max) when paginating and Return All is false.
  • Filter Query String — Literal API filter query string that overrides all other filters if provided.
  • Filters — One or more field-based filters to apply to the request; ignored if Filter Query String is set.

Output shape

a list of line item records matching the filters and pagination criteria

If Return All is true, all matching line items are returned without pagination. If false, results are limited and paginated according to the Limit, Page Number, and Page Size inputs. Filters are applied either via the Filter Query String (if provided) or via the specified Filters fields.

Discussion