get_analytics_report
Get Shopify analytics reports for sales, traffic, customers, products, and orders. Specify date range and granularity to track performance.
Instructions
Fetch analytics reports and metrics from Shopify
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": {
"reportType": "<reportType>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "get_analytics_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date in ISO format (YYYY-MM-DD) | |
| startDate | Yes | Start date in ISO format (YYYY-MM-DD) | |
| reportType | Yes | Type of analytics report | |
| granularity | No | Time granularity for the report |