---
title: "Queue an export of the revenue by sales channel report"
method: GET
path: "/shop/reports/revenue-by-sales-channel/queue"
tags: ["Reports"]
---

# Queue an export of the revenue by sales channel report

`GET /shop/reports/revenue-by-sales-channel/queue`

Queues a CSV export of the revenue by sales channel report to be generated
asynchronously. Prefer this endpoint over the synchronous variant for date ranges
that span more than a couple of months — for shorter ranges, see
[`/shop/reports/revenue-by-sales-channel`](/endpoints/Reports#listRevenueBySalesChannel).

## Query parameters

- `site_id` string, uuid
- `revenue_date_from` string, date
- `revenue_date_to` string, date
- `submitted_at_from` string, date
- `submitted_at_to` string, date
- `item_date_from` string, date
- `item_date_to` string, date
- `sales_channel` string[]
- `revenue_centre` string[]
- `email` boolean

## Response `200`

The job was successfully queued

- object
  - `data` QueuedJob, required
    - `id` string, uuid, required — The ID of the queued job.
    - `status` 'pending' | 'complete' | 'failed', required — The status of the queued job.
    - `output` object, required — The output of the queued job.
    - `created_at` string, date-time, required — The date and time the queued job was created.
    - `updated_at` string, date-time, required — The date and time the queued job was last updated.

## 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)
