---
title: "Pobierz listę najlepiej sprzedających się produktów (bestsellery)"
method: GET
path: "/products_bestsellers"
tags: ["Produkty"]
---

# Pobierz listę najlepiej sprzedających się produktów (bestsellery)

`GET /products_bestsellers`

## Request

- Base URL: `https://demo.sellasist.pl/api/v1`
- URL: `https://demo.sellasist.pl/api/v1/products_bestsellers`
- Auth: API key in header `apiKey`

Zwraca ustrukturyzowaną i stronicowaną listę najlepiej sprzedających się produktów na podstawie wolumenu sprzedaży z ostatniego miesiąca (sold_last_month).

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

Sukces. Zwraca listę najlepiej sprzedających się produktów z paginacją.

- object
  - `data` BestsellerProduct[]
    - `id` integer
    - `name` string
    - `catalog_number` string, nullable
    - `ean` string, nullable
    - `symbol` string, nullable
    - `location` string, nullable
    - `volume` integer, nullable
    - `reserved` integer, nullable
    - `price` number, float
    - `price_promo` number, float
    - `quantity` number, float
    - `sold_last_month` number, float
    - `currency` string
    - `image_url` string, nullable
  - `pagination` object
    - `limit` integer
    - `total_items` integer
    - `current_page` integer
    - `total_pages` integer
  - `links` object
    - `self` string, uri
    - `next` string, uri, nullable
  - `meta` object
    - `api_version` string

---

[API](https://skmtc.dev/sellasist/apis/sellasist-api.md) - [All operations](https://skmtc.dev/sellasist/apis/sellasist-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sellasist/apis/sellasist-api/revisions/58415a41c446?raw)
