List Purchase Orders

Returns a paginated list of purchase orders for the authenticated business. Supports filtering by status, supplier, location, and creation date range.

Requires scope: purchase_orders:read

Authentication

API_KEYstring
API Key authentication via header

Query parameters

pageintegerOptional

Zero-based page index. Defaults to 0.

sizeintegerOptional

Items per page. Defaults to 20, maximum 100.

statusenumOptional
Filter by purchase order status.
supplierIdUUIDOptional
Filter by supplier ID.
locationIdUUIDOptional
Filter by destination location ID.
createdAfterdateOptional

Return only orders created on or after this date (ISO 8601, e.g. 2026-01-01).

createdBeforedateOptional

Return only orders created on or before this date (ISO 8601, e.g. 2026-03-31).

sortstringOptional

Sort by field,direction (Spring Pageable format; direction asc or desc, default asc). Allowed fields: id, orderNumber, status, type, totalCost, subtotal, note, dueDate, receivedAt, createdAt, updatedAt. Default order (when no sort is supplied): createdAt,desc.

Response

This endpoint returns an object.
datalist of objects
paginationobject
Pagination metadata returned on all list endpoints.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error