---
title: "Request resellers"
method: POST
path: "/feverzone/sales-by-reseller/search"
tags: ["FeverZone"]
---

# Request resellers

`POST /feverzone/sales-by-reseller/search`

## 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`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth/token`
- TypeScript: <https://skmtc.dev/feverup/apis/fever-reporting-api/docs/feverzone/sales-by-reseller/search/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a request to get resellers. The field reseller_ids can be used to filter the resellers by id.If empty, all resellers will be returned.The search will be processed asynchronously, being able to fetch the result from the provided search ID.

## Headers

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

## Request body

- SalesByResellerParams
  - `reseller_ids` string[]: List of ids of the resellers to filter by.
  - `group_by_dimensions` ResellerGroupByDimension[]: List of dimensions to group by.

## Response `202`

Request was created successfully but is still running asynchronously.

- SearchStatus
  - `message` string, required: Message about the search status
  - `search_id` string, uuid, required: The search ID

## Other responses

- `408`: Request Timeout
- `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)
