search_orders
Find orders by order number, customer email, or name, with optional status and date filters. Returns newest-first summaries; use get_order for payment, refund, and timeline details.
Instructions
Search orders by order number, customer email or customer name (substring or fuzzy match), optionally filtered by status and creation date. Newest first. Returns order summaries (number, status, total, customer). Use get_order for payments, refunds and the timeline.
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": "search_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many orders to return (1-100). | |
| query | No | Order number, customer email or name, e.g. "SF-10042", "maya@", "Patel". Omit to list recent orders. | |
| status | No | Only orders in this status. | |
| to_date | No | Created on or before this UTC date (YYYY-MM-DD). | |
| from_date | No | Created on or after this UTC date (YYYY-MM-DD). |