ordercloud.orders.generateReport
Generate an order report for a direction and date range, returning aggregated totals and status breakdowns from matching orders and worksheets.
Instructions
Search orders in a date range, fetch worksheets, and return aggregated metrics (totals, status breakdown)
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": {
"direction": "<direction>"
},
"name": "ordercloud.orders.generateReport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Filter by order status | |
| toDate | No | End date (ISO 8601 or YYYY-MM-DD) | |
| fromDate | No | Start date (ISO 8601 or YYYY-MM-DD) | |
| pageSize | No | Max orders to include | |
| direction | Yes | Order direction |