List orders
listOrdersRetrieves orders oldest first, optionally filtered by status, with cursor-based paging. Use it to find an order ID before fetching full details.
Instructions
Lists orders, oldest first, optionally filtered by status, 20 per page unless limit says otherwise. Use it to find an order's id before calling getOrder. Returns { orders, nextCursor }; pass nextCursor back as cursor for the next page (null on the last one). Calls need the Orders API key (x-api-key header; the demo's is demo-customer-key-0001); without it the tool returns the API's 401.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many orders to return, 1 to 100 (default 20). | |
| cursor | No | Where to continue from: the cursor the previous page returned (nextCursor). Leave it out for the first page. | |
| status | No | Only orders with this status. One of: open, paid, refunded. |