---
title: "Get top ecommerce products"
method: GET
path: "/api/sites/{id}/ecommerce/products"
tags: ["Sites"]
---

# Get top ecommerce products

`GET /api/sites/{id}/ecommerce/products`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/sites/{id}/ecommerce/products`
- Auth: one of:
  - API key in cookie `hk_token`
  - HTTP bearer
  - API key in header `X-API-Key`

Returns top products by revenue from purchase events.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `filter` string
- `filter_type` string
- `filter_value` string
- `item_id` string
- `item_name` string
- `limit` integer

## Response `200`

Ecommerce products

- EcommerceProductStat[]
  - `item_id` string
  - `item_name` string
  - `orders` integer
  - `quantity` integer
  - `revenue` number

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
