---
title: "Revenue by centre report (v1)"
method: GET
path: "/shop/reports/revenue-by-centre"
tags: ["RevenueByCentre"]
---

# Revenue by centre report (v1)

`GET /shop/reports/revenue-by-centre`

Display-formatted version of the revenue by centre summary, returning two
[`TableReport`](#/components/schemas/TableReport) blocks: `data` (one row per day) and
`totals` (the combined totals row).

Prefer [`/shop/reports/revenue-by-centre-v2`](/endpoints/RevenueByCentre#listRevenueByCentreSummary)
for programmatic / JSON consumption. For large date ranges or background CSV delivery
use [`/shop/reports/revenue-by-centre/queue`](/endpoints/RevenueByCentre#queueRevenueByCentreExport).

## Query parameters

- `site_id` string, uuid, required
- `revenue_date_from` string, date
- `revenue_date_to` string, date

## Response `200`

The report was successfully generated.

- object
  - `data` TableReport, required — A row-and-column representation of a report. The first row is the header (`format: th`) and subsequent rows are body cells (`format: td`). Used by aggregate / summary reports that are intended for display rather than programmatic consumption.
    - `rows` TableReportRow[], required — The rows of the table, in display order.
      - `cells` TableReportCell[], required — The cells of the row, in display order.
        - `format` 'th' | 'td', required — The cell type — `th` for header rows, `td` for body rows.
        - `value` union — The cell's displayed value.
          - string
          - number
          - integer
          - boolean
  - `totals` TableReport, required — A row-and-column representation of a report. The first row is the header (`format: th`) and subsequent rows are body cells (`format: td`). Used by aggregate / summary reports that are intended for display rather than programmatic consumption.
    - `rows` TableReportRow[], required — The rows of the table, in display order.
      - `cells` TableReportCell[], required — The cells of the row, in display order.
        - `format` 'th' | 'td', required — The cell type — `th` for header rows, `td` for body rows.
        - `value` union — The cell's displayed value.
          - string
          - number
          - integer
          - boolean

## Other responses

- `400` — The request failed.

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
