apple_get_sales_report
Download Apple Sales and Trends reports as rows for units, installs, and proceeds by territory or device; specify vendor number, date, and report type, and save the full report to a file.
Instructions
Download a Sales and Trends report (units, installs, proceeds by territory/device) as rows. Needs the vendor number; data for a day usually appears the next day. reportSubType and version must suit the reportType (SALES uses SUMMARY); Apple names the accepted values in its error.
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": "apple_get_sales_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxRows | No | Rows to return in the response; the full report goes to outputPath | |
| version | No | Report format version, e.g. 1_1; Apple names the accepted versions in its error if this is wrong | |
| frequency | No | DAILY | |
| overwrite | No | Allow replacing an existing file at outputPath | |
| outputPath | No | Save the full decompressed report to this file | |
| reportDate | No | Omit for the latest available report | |
| reportType | No | SALES | |
| vendorNumber | No | Defaults to APPLE_VENDOR_NUMBER | |
| reportSubType | No | SUMMARY |