---
title: "Reporting — products"
method: GET
path: "/reporting/products"
tags: ["Admin Reporting: Products"]
---

# Reporting — products

`GET /reporting/products`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/reporting/products`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/reporting/products/get.ts> (a function with typed inputs; its response is checked against the schema)

Product reporting stats. `?type=` picks the stat group.

## Query parameters

- `type` 'total-sold-quantities' | 'total-products-added-to-wishlist' | 'top-selling-products-by-revenue' | 'top-selling-products-by-quantity' | 'products-with-most-reviews' | 'last-search-terms' | 'top-search-terms'
- `start` string, date
- `end` string, date
- `channel` string

## Response `200`

AdminReportingProducts collection

- AdminReportingProducts[]
  - `entity` string, nullable
  - `type` string, nullable
  - `dateRange` unknown[], nullable
    - unknown
  - `statistics` object, nullable

## Changes

- **2026-10-28** `982b36ea11ab`: 1 breaking
  - removed the enum value `products-with-most-visits` from the `query` request parameter `type`

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-admin-api/changes/reporting/products/get.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
