Search orders
search_ordersFind specific orders across all connected channels. query matches an order ID, line-item ID, or SKU (substring). Filter by channel, attribution state, and date range. Money fields are in minor units (paise for INR) — convert to ₹. Use get_order for full detail on one order.
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 | Max records to return (1-25, default 15). | |
| query | No | Order ID / line-item ID / SKU to search for. | |
| since | No | ISO date — only orders created on/after this. | |
| until | No | ISO date — only orders created on/before this. | |
| channel | No | Restrict to one channel code (e.g. amazon, flipkart). | |
| attributionState | No | Filter by order lifecycle state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Matched records. | |
| limit | No | ||
| total | No | Total matches before paging. | |
| offset | No | ||
| message | No | ||
| available | No |