---
title: "Update an discount"
method: POST
path: "/v3/merchants/{mId}/discounts/{discountId}"
tags: ["INVENTORY"]
---

# Update an discount

`POST /v3/merchants/{mId}/discounts/{discountId}`

## Request

- Base URL: `https://apisandbox.dev.clover.com`
- URL: `https://apisandbox.dev.clover.com/v3/merchants/{mId}/discounts/{discountId}`
- Auth: HTTP bearer

## Path parameters

- `mId` string, required
- `discountId` string, required

## Headers

- `User-Agent` string, required

## Request body

- object
  - `id` string: Unique identifier
  - `discount` object: If this item is based on a standard discount, this will point to the appropriate inventory.Discount
    - `id` string: Unique identifier.
  - `approver` object: The person that authorized a discount
    - `id` string: Unique identifier.
  - `name` string, required: Name of the discount
  - `amount` integer: Discount amount in fraction of currency unit (e.g. cents) based on currency fraction digits supported
  - `percentage` integer: Discount amount in percent

## Response `200`

---

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