List orders
list_ordersRetrieve and filter Shopify orders by status, date, or SKU using search syntax, with pagination and sorting. Returns order details like totals and line items, not customer data.
Instructions
Orders: number, dates, payment and fulfilment status, totals and line items. No customer details.
query uses Shopify's search syntax (https://shopify.dev/docs/api/usage/search-syntax), e.g. "created_at:>=2026-01-01", "financial_status:paid", "fulfillment_status:unfulfilled", "status:open", "sku:ABC123".
Orders older than 60 days are only visible when the app has the read_all_orders scope. For sums over a period (sales per month, top products), run_analytics_query is the better tool: this one lists orders, it does not add them up.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | The next_cursor of the previous page, to continue from it. | |
| first | No | How many to return, 1-100. Default 25. | |
| query | No | Search filter in Shopify's search syntax. | |
| reverse | No | Reverse the sort order (newest or largest first). | |
| sort_key | No | What to sort by. Default is the order's processed date. |