shopify_sales_by_product
Analyze product sales performance by retrieving revenue, units sold, and order data for Shopify stores. Filter by date range, sort by key metrics, and identify top-performing products.
Instructions
Get sales breakdown by product. Shows revenue, units sold, and orders per product.
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": "shopify_sales_by_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Start date. Examples: '-30d', '-3m', '2025-01-01' | |
| until | No | End date | |
| limit | No | Max number of products to return (default 20) | |
| order_by | No | Sort metric (default: total_sales) |