---
title: "Revenue by order label report"
method: GET
path: "/shop/reports/revenue-by-order-label"
tags: ["Reports"]
---

# Revenue by order label report

`GET /shop/reports/revenue-by-order-label`

Summarises submitted/settled basket revenue grouped by order label. The response is
a display-ready table (header + body rows). For JSON-native consumption use
[`/shop/reports/revenue-by-order-label-v2`](/endpoints/Reports#listRevenueByOrderLabelV2);
for large date ranges export asynchronously via
[`/shop/reports/revenue-by-order-label/queue`](/endpoints/Reports#queueRevenueByOrderLabelExport).

## Query parameters

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

## Response `200`

The report was successfully generated.

- TableReport — 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)
