---
title: "Update discount"
method: PUT
path: "/2023-10/subscription/{subscriptionId}/discount/{discountShopifyId}"
---

# Update discount

`PUT /2023-10/subscription/{subscriptionId}/discount/{discountShopifyId}`

Rate limit - 1/s

## Path parameters

- `subscriptionId` integer, required
- `discountShopifyId` string, required

## Request body

- object
  - `manualDiscount` object
    - `type` 'PERCENTAGE' | 'FIXED_DISCOUNT'
    - `value` integer
    - `orderLimit` integer
    - `lineIds` integer[]

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/loopwork/apis/storefront-api.md) · [All operations](https://skmtc.dev/loopwork/apis/storefront-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loopwork/storefront-api/revisions/1524500daa02/schema)
