List Purchase Orders
Returns a page of the merchant’s purchase orders, newest first by default. Follow the next or prev link to page; each carries the cursor and the original filters.
Authentication
AuthorizationBearer
Authentication using Personal Access Token (PAT) token
OR
AuthorizationBearer
OAuth2 authentication using JWT tokens
Query parameters
cursor
Opaque page cursor from a previous response's next or prev link. Carries its own sort.
sort_by
created_at (default), id or external_reference. Ignored when a cursor is given.
sort_dir
asc or desc (default). Ignored when a cursor is given.
limit
Results per page, 1 to 250. Defaults to 50.
status
Only purchase orders in one of these statuses. Repeat the parameter for more than one (status=2&status=3).
Allowed values:
ids
Only purchase orders with one of these ids, up to 250. Repeat the parameter for more than one (ids=1&ids=2).
supplier_id
Only purchase orders with this supplier.
external_reference
Only purchase orders whose external reference contains this text.
search
Matches the external reference, or the purchase order id too when the term is all digits.
Response
OK
first
Reserved; always null.
items
The page's results.
last
Reserved; always null.
next
Link to the next page, or null on the last page.
prev
Link to the previous page, or null on the first page.
Errors
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error

