transactions_aggregate_by_metric
Retrieve aggregated sales data grouped by metric segments like country, region, or partner. Use monthly or weekly time buckets with optional filters for product and hosting type.
Instructions
Aggregated sales grouped by a metric path segment. Maps to /sales/transactions/{metric}.
📖 Spec (GET /rest/3/reporting/developer-space/{developerId}/sales/transactions/{metric}): https://developer.atlassian.com/platform/marketplace/rest/v4/api-group-reporting/#api-rest-3-reporting-developer-space-developerid-sales-transactions-metric-get
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | Allowable values per Atlassian: country, hosting, partner, region, tier, type | |
| endDate | No | ||
| hosting | No | ||
| productId | No | Optional product UUID. Not documented in swagger but accepted by the live API and applied. | |
| startDate | No | ||
| aggregation | No | Time bucket granularity for the series — month or week. |