---
title: "Get Coupon Stats"
method: GET
path: "/v1/shops/{shopId}/coupons/stats"
tags: ["Coupons"]
---

# Get Coupon Stats

`GET /v1/shops/{shopId}/coupons/stats`

## Request

- Base URL: `https://api.sellauth.com`
- URL: `https://api.sellauth.com/v1/shops/{shopId}/coupons/stats`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sellauth/apis/sellauth-api/docs/v1/shops/:shopId/coupons/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

Counts coupons by state and sums paid coupon orders over the last 30 days and the 30 days before.

## Response `200`

- object
  - `window_days` integer
  - `active` integer
  - `scheduled` integer
  - `ended` integer
  - `redemptions` integer
  - `redemptions_previous` integer
  - `revenue_usd` integer
  - `revenue_usd_previous` integer
  - `discount_usd` integer

## Changes

- **2026-10-13** `5cbdf10d05ab`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sellauth/apis/sellauth-api/changes/v1/shops/:shopId/coupons/stats/get.md)

---

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