Fetch the complete documentation index at: https://x-series-api.lightspeedhq.com/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# 2026-04 Purchase Order Read API

The **2026-04** API adds endpoints for reading purchase orders, their line items, deliveries,
and delivery line items.

## What's New

| Method | Path                                                                                   | Description                     |
| ------ | -------------------------------------------------------------------------------------- | ------------------------------- |
| `GET`  | `/api/2026-04/purchase_orders`                                                         | List purchase orders.           |
| `GET`  | `/api/2026-04/purchase_orders/{purchase_order_id}`                                     | Get a purchase order by ID.     |
| `GET`  | `/api/2026-04/purchase_orders/{purchase_order_id}/line_items`                          | List purchase order line items. |
| `GET`  | `/api/2026-04/purchase_orders/{purchase_order_id}/deliveries`                          | List purchase order deliveries. |
| `GET`  | `/api/2026-04/purchase_orders/{purchase_order_id}/deliveries/{delivery_id}/line_items` | List delivery line items.       |

All endpoints use version-based cursor pagination where applicable and require the
`consignments:read` scope.

Cost fields in purchase order, delivery, and line-item responses are returned when the caller
also has the `products:read:costs` scope.