---
title: "Get sales by reseller"
method: GET
path: "/feverzone/sales-by-reseller/search/{search_id}"
tags: ["FeverZone"]
---

# Get sales by reseller

`GET /feverzone/sales-by-reseller/search/{search_id}`

## Request

- Base URL: `https://data-reporting-api.prod.feverup.com/v1`
- URL: `https://data-reporting-api.prod.feverup.com/v1/feverzone/sales-by-reseller/search/{search_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth/token`
- TypeScript: <https://skmtc.dev/feverup/apis/fever-reporting-api/docs/feverzone/sales-by-reseller/search/:search_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get resellers' sales aggregated from a search_id.

## Path parameters

- `search_id` string, uuid, required

## Query parameters

- `page` integer

## Headers

- `user-id-to-impersonate` integer: User id from the user that you want to impersonate

## Response `200`

Search was obtained successfully

- SearchSalesByResellerSalesByResellerParams
  - `partition_info` PartitionInfo[]: Partition information
    - `partition_num` integer, required: Partition number
    - `endpoint` string, required: Endpoint to fetch data for partition
    - `size` integer, required: Partition size in bytes
    - `rows` integer, required: Number of rows contained in partition. One row represents a single transaction result (e.g. order, plan etc.).
  - `params` SalesByResellerParams
    - `reseller_ids` string[]: List of ids of the resellers to filter by.
    - `group_by_dimensions` ResellerGroupByDimension[]: List of dimensions to group by.
  - `data` SalesByReseller[], required: Data rows
    - `ticket_type` string: Ticket type
    - `tickets_sold` integer, required: Venue tickets sold
    - `gross_revenue` number, required: Venue gross revenue
    - `reseller` Reseller, required
      - `id` string, required: Reseller ID
      - `name` string, required: Reseller name
      - `email` string, required: Reseller email
      - `type` string, required: Reseller type
      - `contact_language` string, required: Reseller contact language
      - `accepts_comms` string, required: Reseller accepts communications
    - `venue_name` string: Venue name

## Other responses

- `202`: Request is still running asynchronously.
- `400`: Bad Request
- `404`: Not Found
- `408`: Request Timeout
- `410`: Search expired
- `422`: Validation Error
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/feverup/apis/fever-reporting-api.md) - [All operations](https://skmtc.dev/feverup/apis/fever-reporting-api/llms.txt) - [OpenAPI document](https://skmtc.dev/feverup/apis/fever-reporting-api/revisions/a2e1afe5c12d?raw)
