getProductAnalytics
Fetch product performance analytics by date range, with sorting by sales, units sold, conversion rate, or page views and optional filtering by product IDs.
Instructions
Get product performance analytics
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": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "getProductAnalytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sortBy | No | TOTAL_SALES | |
| endDate | Yes | End date (YYYY-MM-DD) | |
| startDate | Yes | Start date (YYYY-MM-DD) | |
| productIds | No |