AddSynapse: orders
list_ordersAddSynapse: The WooCommerce orders of the shop, newest first (needs Store Assistant 1.3.18 or newer): id, number, date, status, total, currency, item count, payment method, shipping methods, paid (true/false, with date_paid), customer name and the order link. Filters: status (pending, processing, on-hold, completed, cancelled, refunded, failed or any), period or date_from/date_to, customer_email (exact billing email), search (order number, customer name, email, phone or address, product), total_min/total_max, limit (default 20, at most 100) and page. Read-only.
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 |
|---|---|---|---|
| page | No | ||
| site | No | Which connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site. | |
| limit | No | ||
| period | No | today, 7d, 30d, month or custom (with date_from and date_to). Store timezone. | |
| search | No | Words to find in the order: number, customer name, email, phone, address or product. | |
| status | No | Order status without the wc- prefix, or "any" (default). | |
| date_to | No | End date YYYY-MM-DD (inclusive). | |
| date_from | No | Start date YYYY-MM-DD (inclusive). | |
| total_max | No | ||
| total_min | No | ||
| customer_email | No | Only the orders with exactly this billing email. |