---
title: "Retrieves a RevenueStat resource."
method: GET
path: "/revenue_stats/{id}"
tags: ["RevenueStat"]
---

# Retrieves a RevenueStat resource.

`GET /revenue_stats/{id}`

## Request

- Base URL: `https://example.myintranetapps.com/api`
- URL: `https://example.myintranetapps.com/api/revenue_stats/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/bossinsights/apis/boss-insights/docs/revenue_stats/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a RevenueStat resource.

## Path parameters

- `id` string, required

## Response `200`

RevenueStat resource

- RevenueStat
  - `id` string
  - `integration` string: The key of the integration source e.g. "quickbooks", or "xero"
  - `srcId` string: Unique identifier for the customer e.g. "1"
  - `sellerName` string, nullable: Full name of seller
  - `siteName` string, nullable: Site name
  - `currency` string, nullable: Currency used for revenue e.g. USD
  - `totalSubscriptions` string, nullable: Number of total subscriptions
  - `totalRevenue` string, nullable: Total revenue
  - `revenueToday` string, nullable: Revenue from today
  - `revenueThisMonth` string, nullable: Revenue from current month
  - `revenueThisYear` string, nullable: Revenue from current year
  - `siteId` string, nullable

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/bossinsights/apis/boss-insights.md) - [All operations](https://skmtc.dev/bossinsights/apis/boss-insights/llms.txt) - [OpenAPI document](https://skmtc.dev/bossinsights/apis/boss-insights/revisions/d08a107895ad?raw)
