search_orders
Locate specific Shopify orders by status, customer email, tag, or creation date using query syntax, with result limits and sorting for targeted analysis.
Instructions
Search orders using Shopify query syntax. Examples: 'financial_status:refunded', 'email:jane@example.com', 'tag:rush', 'created_at:>2026-03-01'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default: 20, max: 50) | |
| query | Yes | Shopify query string (e.g. 'financial_status:refunded', 'email:jane@example.com') | |
| sort_by | No | Sort field (default: created_at) |