Statistics (grouped breakdowns)
GET/api/amazon/unified/transactions/statistics
Returns breakdown statistics grouped into business categories (sales, fees, refunds, other, net) — amounts per currency — plus available filter values for dropdowns. Excludes superseded transactions to prevent double-counting.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Shape: sales, fees, refunds, other and net are keyed by currency ({amount, count} each). base_currency adds home-currency totals: code, totals (per category), conversion_rates (currency → rate), unconverted (per category, the currency amounts left out of totals because no usable exchange rate exists — never counted 1:1) and unconverted_notices (one plain sentence per left-out currency, e.g. "EUR 1,250.00 is not included in the USD totals — there is no EUR→USD exchange rate. Add EUR in Settings → Currencies."). excluded reports Transfer and Retrocharge activity left out of the totals (types and total, each with currencies, base_total and unconverted). type_breakdown counts transactions per type and description.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.