---
title: "Export the partner orders report"
method: GET
path: "/shop/reports/partner-orders"
tags: ["Reports"]
---

# Export the partner orders report

`GET /shop/reports/partner-orders`

Use this endpoint to download a CSV export of every order placed
through a specific partner. Each row corresponds to one order in
the partner's pipeline, sorted by submission date (most recent
first); when a `query` is supplied the rows are ordered by search
relevance instead.

Generating the file is synchronous, so for partners with very large
order volumes prefer the [queue](#operation/queuePartnerOrdersExport)
variant of this endpoint, which renders the report on a background
worker and notifies you when it is ready.

Requires the `admin.sites.manage` permission.

## Query parameters

- `partner_id` string, required
- `site_id` string
- `customer_id` string, uuid
- `status` string
- `query` string
- `submitted_at_from` string, date-time
- `submitted_at_to` string, date-time
- `item_date_from` string, date
- `item_date_to` string, date
- `revenue_date_from` string, date
- `revenue_date_to` string, date
- `labels` string
- `external_id` string

## Response `200`

The partner orders report was successfully generated.

## Other responses

- `403` — The authenticated user does not have permission.
- `422` — The request didn't pass validation

---

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