---
title: "Edit Custom Discount"
method: PUT
path: "/custom-discounts/{discount_id}"
tags: ["Custom Discounts"]
---

# Edit Custom Discount

`PUT /custom-discounts/{discount_id}`

## Request

- Base URL: `https://api.lzt.market`
- URL: `https://api.lzt.market/custom-discounts/{discount_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lzt/apis/lolzteam-public-api-market/docs/custom-discounts/:discount_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Edit an existing custom discount.

## Path parameters

- `discount_id` integer, required

## Request body

- object
  - `discount_percent` number: Discount percent to apply.
  - `min_price` number: Minimum price for which the discount applies.
  - `max_price` number: Maximum price for which the discount applies.

## Response `200`

Successful Response.

- object
  - `discounts` DiscountModel[], required
    - `category_id` integer, required
    - `discount_id` integer, required
    - `discount_percent` integer, required
    - `discount_user_id` integer, required
    - `max_price` integer, required
    - `min_price` integer, required
    - `user_id` integer, required
  - `total` integer, required
  - `system_info` RespSystemInfo, required
    - `rate_limit` object, required
      - `limit` integer, required
      - `remaining` integer, required
      - `reset` integer, required
      - `bucket` string
    - `visitor_id` integer, required
    - `time` integer, required
    - `log_id` integer, required

## Other responses

- `401`: Unauthorized

## Changes

- **2026-11-03** `0ff169799e9a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lzt/apis/lolzteam-public-api-market/changes/custom-discounts/:discount_id/put.md)

---

[API](https://skmtc.dev/lzt/apis/lolzteam-public-api-market.md) - [All operations](https://skmtc.dev/lzt/apis/lolzteam-public-api-market/llms.txt) - [OpenAPI document](https://skmtc.dev/lzt/apis/lolzteam-public-api-market/revisions/0ff169799e9a?raw)
