getCustomReport
Create custom analytics reports for Shopify using selected metrics, date ranges, filters, and dimensions to analyze store performance and trends.
Instructions
Create a custom analytics report with specific metrics
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>",
"metrics": "<metrics>"
},
"name": "getCustomReport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sortBy | No | ||
| endDate | Yes | End date (YYYY-MM-DD) | |
| filters | No | Key-value pairs for filtering data | |
| metrics | Yes | Array of metric names to include | |
| startDate | Yes | Start date (YYYY-MM-DD) | |
| dimensions | No | Array of dimension names to group by | |
| reportType | Yes | Custom report type identifier |