get_sales_by_channel
Retrieve and compare revenue by sales channel such as Online Store, Shop app, and POS for a chosen period, so you can identify which channels drive sales.
Instructions
Get revenue breakdown by sales channel (Online Store, Shop app, POS, etc.).
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": "get_sales_by_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Date range (default: last_30d) | |
| compare_to | No | Comparison: previous_period, previous_year, none (default: none) |