curl 'https://api.stateset.com/api/v1/purchase-orders?status=IN_PRODUCTION&limit=50' \
-H 'Authorization: Bearer <token>'
curl 'https://api.stateset.com/api/v1/purchase-orders?limit=50&after=cur_8y4mQr5oP2' \
-H 'Authorization: Bearer <token>'
{
"data": [
{
"purchase_order_id": "po_67890",
"status": "IN_PRODUCTION",
"supplier_id": "did:stateset:supplier:xyz789",
"amount": "100000.00",
"currency": "USDC",
"delivery_terms": { "incoterm": "FOB", "expected_delivery": "2024-08-15" }
}
],
"has_more": false
}
List Purchase Orders
List purchase orders, filtered by status, counterparty, or delivery window.
GET
/
api
/
v1
/
purchase-orders
curl 'https://api.stateset.com/api/v1/purchase-orders?status=IN_PRODUCTION&limit=50' \
-H 'Authorization: Bearer <token>'
curl 'https://api.stateset.com/api/v1/purchase-orders?limit=50&after=cur_8y4mQr5oP2' \
-H 'Authorization: Bearer <token>'
{
"data": [
{
"purchase_order_id": "po_67890",
"status": "IN_PRODUCTION",
"supplier_id": "did:stateset:supplier:xyz789",
"amount": "100000.00",
"currency": "USDC",
"delivery_terms": { "incoterm": "FOB", "expected_delivery": "2024-08-15" }
}
],
"has_more": false
}
Legacy contract: confirm deployment before use. This page does not establish a
provisioned public service. Check the dated host report and obtain
a supported host and API version. New integrations should begin with the
API directory or local commerce walkthrough.
Overview
Returns a page of purchase orders. The two queries that earn their keep are what is in production and what is due to deliver soon — a PO slipping its delivery date is what puts financed tranches at risk.Query
This endpoint supports both offset and keyset pagination. Prefer
after: keyset paging is stable
while the underlying set changes, where offset can skip or repeat rows as purchase orders move
through their lifecycle. Use offset only when you need to jump to an arbitrary page.Response
The purchase orders, each shaped as in
Get Purchase Order.
Errors
Succeeds with200. Failures return 400, 401, 403 or 429 with an error body, per the platform status-code contract.
curl 'https://api.stateset.com/api/v1/purchase-orders?status=IN_PRODUCTION&limit=50' \
-H 'Authorization: Bearer <token>'
curl 'https://api.stateset.com/api/v1/purchase-orders?limit=50&after=cur_8y4mQr5oP2' \
-H 'Authorization: Bearer <token>'
{
"data": [
{
"purchase_order_id": "po_67890",
"status": "IN_PRODUCTION",
"supplier_id": "did:stateset:supplier:xyz789",
"amount": "100000.00",
"currency": "USDC",
"delivery_terms": { "incoterm": "FOB", "expected_delivery": "2024-08-15" }
}
],
"has_more": false
}
Related
Last modified on September 21, 2026