Sales by month
get_sales_by_monthThe Shopify sales ladder per calendar month for the last months (default 12, up to 24): netSales, grossSales, returns, orders, oldest first, with complete false on the month in progress. rankedByNetSales lists the complete months, best first, so 'best month' needs no comparing of your own.
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_month"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | How many calendar months, up to and including this one; default 12. |