---
title: "Get Discount Type Distribution"
method: GET
path: "/trends/discount-type"
tags: ["trends"]
---

# Get Discount Type Distribution

`GET /trends/discount-type`

This endpoint analyzes the first `discount_type` field in each notification’s
`specific_promotion_details` and returns the count of each unique promotion type
(e.g. "Flat Discount", "BOGO"). Only notifications with a non-empty `discount_type.value`
are included. Useful for analyzing promotional strategy trends over time.

## Query parameters

- `start_date` string, date
- `end_date` string, date
- `brand` string
- `genre` string

## Headers

- `X-API-Key` string, required

## Response `200`

A list of discount types and their counts.

---

[API](https://skmtc.dev/empushy/apis/notiflow-api.md) · [All operations](https://skmtc.dev/empushy/apis/notiflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/empushy/notiflow-api/revisions/09c0a68f9a58/schema)
