list_orders
List recent order records for the project, PII-FREE — customer name, e-mail, phone and billing/shipping addresses are never returned. Use this to find orders and spot ones that failed to sync. To spot sync problems, pass errors_only:true to see only orders that failed or were not inserted. Optional connection_id restricts to one order connection; limit caps the result (default 50, max 200). Returns {orders:[{orderId, channelOrderId, channelOrderName, storeOrderId, connectionId, channelCode, marketplaceCode, status, syncStatus, createdAt}], total}. syncStatus flags which orders failed ('error'/'not_inserted'); to see WHICH sync step failed, when and why, pass orderId as order_id to list_order_commands. connectionId of an order from a marketplace INTEGRATION (marketplaceCode set) is not a standalone order connection: get_order_connection / get_order_overview do not know it and answer 404 — that does NOT mean the connection is broken or deleted. For those orders use list_marketplaces (match marketplaceCode/channelCode), marketplace_status (orderStats) and sync_marketplace_orders. project_id is OPTIONAL (project_id_required otherwise — then call list_projects).
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 |
|---|---|---|---|
| limit | No | Max records (default 50, max 200). | |
| project_id | No | ||
| errors_only | No | Only orders that failed to sync / were not inserted. | |
| connection_id | No | Restrict to one order connection (from get_order_overview). |