---
title: "Delete discount"
method: DELETE
path: "/v1/commerce/discounts/{discountId}"
tags: ["Discounts"]
---

# Delete discount

`DELETE /v1/commerce/discounts/{discountId}`

## Request

- Base URL: `https://api.squarespace.com`
- URL: `https://api.squarespace.com/v1/commerce/discounts/{discountId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/squarespace/apis/commerce-api/docs/v1/commerce/discounts/:discountId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes the discount for the given discount ID. Deletion is permitted for any discount owned by the website, including discounts whose criteria, template, or trigger types are not supported by this API version; no type validation is performed. Requires OAuth website scope website.discounts, or API key scope DISCOUNTS.

## Path parameters

- `discountId` string, required

## Headers

- `Authorization` string, required
- `User-Agent` string, required

## Response `204`

No content. The discount was deleted successfully.

## Other responses

- `403`: Forbidden. Insufficient scope (OAuth or API key), or the requested resource is not accessible for the authenticated website.
- `404`: Not found. The requested discount was not found.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/squarespace/apis/commerce-api.md) - [All operations](https://skmtc.dev/squarespace/apis/commerce-api/llms.txt) - [OpenAPI document](https://skmtc.dev/squarespace/apis/commerce-api/revisions/5dd4b1b7cd38?raw)
