---
title: "Update discount"
method: PUT
path: "/2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}"
---

# Update discount

`PUT /2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}`

## Request

- Base URL: `https://api.loopsubscriptions.com/admin`
- URL: `https://api.loopsubscriptions.com/admin/2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}`
- Auth: API key in header `X-Loop-Token`

This endpoint allows you to update discount to the specified subscription contract.

## Path parameters

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

## Request body

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

## Response `200`

---

[API](https://skmtc.dev/loopwork/apis/loop-admin.md) - [All operations](https://skmtc.dev/loopwork/apis/loop-admin/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/loop-admin/revisions/1eaf81bcb1ea?raw)
