Profit by SKU
get_profit_by_skuPer-SKU profit ranking for the connected seller account over a window: units, revenue, fees, COGS, net profit and margin per SKU. Use this for 'which product makes money', 'which SKU is losing money', 'what should I stop selling'.
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_profit_by_sku"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ONE calendar day instead of a window: 'yesterday', 'today' or YYYY-MM-DD (within the last 365 days). The day is the STORE's own day in its marketplace's timezone. Use it for 'how was yesterday' or a named date; do not also pass days. | |
| days | No | Window in days, 1-365 (default 7, as the app). | |
| limit | No | Max SKUs (default 20, max 50). | |
| end_date | No | Last day of the custom range, YYYY-MM-DD (inclusive). | |
| start_date | No | First day of a custom range, YYYY-MM-DD on the STORE's calendar (inclusive). Pass with end_date for 'September', 'between X and Y' or any past period; it replaces days. At most 730 days. | |
| marketplace_id | No | Optional marketplace filter. |