---
title: "listDiscounts discount"
method: GET
path: "/ops/discount"
tags: ["ops"]
---

# listDiscounts discount

`GET /ops/discount`

List all discount in our system or discounts for a specific seller

## Query parameters

- `seller_id` string, regexp — seller ID

## Response `200`

OK response.

- Discount[]
  - `allowed_usage_count` integer, required — how many times this discount code can be used
  - `code` string — discount code
  - `created_at` string, date-time, required
  - `description` string — discount description (campaign, seller ...
  - `disabled_at` string, date-time
  - `id` string, regexp, required — discount ID
  - `minimum_merchandise_value` MoneyValue
    - `amount` integer, required — money amount, expressed in the minor unit for the currency
    - `currency` string, required — Currency code, see ISO 4127 (https://www.iso.org/iso-4217-currency-codes.html) (supported: EUR, GBP, USD)
  - `rules` object, required — How this discount will be applied
  - `seller_id` string, regexp, required — seller ID
  - `type` 'fixed_initial_rent_waiver', required
  - `updated_at` string, date-time, required
  - `usage_count` integer, required
  - `valid_from` string, date-time, required
  - `valid_until` string, date-time, required

## Other responses

- `400` — BadRequest: Bad Request response.
- `401` — Unauthorized: Unauthorized response.
- `403` — InvalidScopes: Forbidden response.

---

[API](https://skmtc.net/topi/apis/topi-public-api.md) · [All operations](https://skmtc.net/topi/apis/topi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topi/topi-public-api/versions/fa134b7fc959/schema)
