---
title: "Create a discount"
method: POST
path: "/discounts"
tags: ["Discounts"]
---

# Create a discount

`POST /discounts`

Creates a discount with the specified details. On success, the ID of the new discount is returned.

## Request body

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

## Response `200`

successful operation

- string

---

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