curl 'https://api.stateset.com/api/v1/orders?limit=25' \
-H 'Authorization: Bearer <token>'
curl 'https://api.stateset.com/api/v1/orders?payment_status=paid&fulfillment_status=unshipped' \
-H 'Authorization: Bearer <token>'
{
"data": [
{
"id": "1",
"name": "Order #1042",
"number": "1042",
"source": "web",
"state": "open",
"customerID": "cus_1042",
"items": [{ "sku": "SHOE-RED-10", "quantity": 1 }],
"totalAmount": "128.00",
"paymentStatus": "paid",
"shippingStatus": "unshipped",
"createdAt": "2024-06-25T12:00:00Z",
"updatedAt": "2024-06-25T12:05:00Z"
}
],
"has_more": true,
"next_cursor": "cur_8y4mQr5oP2"
}
List Orders
List orders, filtered by state, payment or shipping status, customer, or date.
GET
/
api
/
v1
/
orders
curl 'https://api.stateset.com/api/v1/orders?limit=25' \
-H 'Authorization: Bearer <token>'
curl 'https://api.stateset.com/api/v1/orders?payment_status=paid&fulfillment_status=unshipped' \
-H 'Authorization: Bearer <token>'
{
"data": [
{
"id": "1",
"name": "Order #1042",
"number": "1042",
"source": "web",
"state": "open",
"customerID": "cus_1042",
"items": [{ "sku": "SHOE-RED-10", "quantity": 1 }],
"totalAmount": "128.00",
"paymentStatus": "paid",
"shippingStatus": "unshipped",
"createdAt": "2024-06-25T12:00:00Z",
"updatedAt": "2024-06-25T12:05:00Z"
}
],
"has_more": true,
"next_cursor": "cur_8y4mQr5oP2"
}
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 orders.status, payment_status, and fulfillment_status are three
independent axes — an order can be paid and unfulfilled, or fulfilled and unpaid. Filter on the
axis you actually care about rather than inferring one from another.
Query
Response
The orders, each shaped as in Get Order —
id, name, number, source, state, customerID, items, totalAmount, paymentStatus,
shippingStatus, createdAt, updatedAt, and metadata.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/orders?limit=25' \
-H 'Authorization: Bearer <token>'
curl 'https://api.stateset.com/api/v1/orders?payment_status=paid&fulfillment_status=unshipped' \
-H 'Authorization: Bearer <token>'
{
"data": [
{
"id": "1",
"name": "Order #1042",
"number": "1042",
"source": "web",
"state": "open",
"customerID": "cus_1042",
"items": [{ "sku": "SHOE-RED-10", "quantity": 1 }],
"totalAmount": "128.00",
"paymentStatus": "paid",
"shippingStatus": "unshipped",
"createdAt": "2024-06-25T12:00:00Z",
"updatedAt": "2024-06-25T12:05:00Z"
}
],
"has_more": true,
"next_cursor": "cur_8y4mQr5oP2"
}
Paginate with
after, not offset. Orders change state constantly, and an offset walk over a
shifting set will skip rows and repeat others. Setting after causes offset to be ignored, so
sending both is not a belt-and-braces measure — it silently discards one of them.Related
- Get Order
- Create Order
- Orders — the full order lifecycle
Last modified on September 21, 2026