---
title: "Remove discount"
method: DELETE
path: "/2023-10/subscription/{subscriptionId}/discount/{discountShopifyId}"
---

# Remove discount

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

## Request

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

This API removes discount code on a specific contract based on subscriptionId and discountShopifyId in the url path params

Rate limit - 5/s

## Path parameters

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

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `shopifyId` unknown
    - `code` string
  - `code` string
  - `pageInfo` unknown

---

[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)
