Sales and Trends report
sales_reportRetrieves App Store sales and trends aggregates for a chosen period, including units by category, proceeds per currency, top-N breakdowns, and optional CSV links for all rows.
Instructions
Sales & Trends aggregates (units by category, proceeds per currency, top-N) for a period, from/to or frequency+report_date; include_rows: CSV link of all rows. Unpublished: pending.
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": "sales_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | YYYY-MM-DD, inclusive | |
| app | No | default: all apps | |
| from | No | YYYY-MM-DD (with to) | |
| top_n | No | default 10, max 100 | |
| period | No | Pacific time; default yesterday | |
| group_by | No | ||
| frequency | No | with report_date | |
| report_date | No | YYYY-MM-DD (WEEKLY: Sunday), MONTHLY YYYY-MM, YEARLY YYYY | |
| report_type | No | default SALES | |
| include_rows | No | ||
| report_subtype | No | default: first valid |