---
title: "Update discount details"
method: PUT
path: "/discounts/{id}"
tags: ["Discounts"]
---

# Update discount details

`PUT /discounts/{id}`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/discounts/{id}`
- Auth: API key in header `X-API-Key`

Updates the details of the specified discount. Note that a discount cannot be updated once it is in use by an order.

## Path parameters

- `id` string, required

## Request body

- DiscountJson
  - `name` string
  - `percent` number
  - `discountAmount` number
  - `status` 'ACTIVE' | 'DEPRECATED'
  - `discountedPrice` number

## Response `default`

successful operation

---

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