---
title: "List Purchase Order Line Items"
method: GET
path: "/purchase_orders/{number}/purchase_order_line_items"
tags: ["Purchase Orders"]
---

# List Purchase Order Line Items

`GET /purchase_orders/{number}/purchase_order_line_items`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/purchase_orders/{number}/purchase_order_line_items`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/purchase_orders/:number/purchase_order_line_items/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of Line Items for the specified Purchase Order

## Path parameters

- `number` string, required

## Query parameters

- `start_cursor` string
- `per_page` integer
- `sort` object
  - `id` 'asc' | 'desc'

## Response `200`

OK

- object
  - `start_cursor` string, nullable: The current start cursor of the records returned.
  - `next_cursor` string, nullable: The next cursor to retrieve the next page of records.
  - `per_page` integer: The maximum number of records returned.
  - `estimated_remaining_count` integer: The number of remaining records including the returned records, up to a maximum of 500.
  - `filtered_by` object[]: The filters applied to the returned record set.
  - `sorted_by` object[]: The sorts applied to the returned record set.
    - `id` 'asc' | 'desc'
  - `records` PurchaseOrderLineItem[]
    - `id` integer
    - `created_at` string, date-time: The date and time at which this record was created.
    - `updated_at` string, date-time: The date and time at which this record was most recently updated.
    - `part_id` integer, required: The Fleetio ID of the [Part](/docs/api/parts) being purchased.
    - `quantity` string, nullable, required: The quantity of this `Part` to be purchased.
    - `total_quantity_received` string, nullable, required: The quantity of this `Part` which was received.
    - `part_number` string, nullable: The number for the `Part` being purchased.
    - `unit_cost` number, float, nullable, required: The cost of this `Part` (per unit).
    - `subtotal` number, float, nullable: The pre-tax subtotal amount.

## Other responses

- `400`: The format or parameters of the request was invalid
- `401`: Request could not be authenticated
- `500`: Something unexpected happened

## Changes

- **2026-11-06** `49558d744bd7`: 1 breaking, 3 info
  - the `sorted_by/items/` response's property type changed from no type to `object` for status `200`
  - for the `query` request parameter `per_page`, the min was decreased from `2.00` to `1.00`
  - added the optional property `sorted_by/items/id` to the response with the `200` status
  - removed `subschema #1` from the `sorted_by/items/` response property `anyOf` list for the response status `200`

[Operation history](https://skmtc.dev/fleetio/apis/fleetio-developer-api/changes/purchase_orders/:number/purchase_order_line_items/get.md)

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
