---
title: "Remove a coupon from a Basket"
method: DELETE
path: "/shop/basket/{basketId}/coupons/{coupon}"
tags: ["Baskets"]
---

# Remove a coupon from a Basket

`DELETE /shop/basket/{basketId}/coupons/{coupon}`

Detaches a previously-applied `CouponCode` from the basket. Any
discount the coupon was contributing is reversed and the totals
are recalculated.

As with `POST /shop/basket/{basketId}/coupons`, customer-facing
flows can only remove coupons while the basket is `in_progress`;
staff (authenticated as a `User`) need the `reservations.manage`
permission for the site.

## Response `204`

The coupon was successfully removed from the basket.

## Other responses

- `400` — The request failed.
- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found

---

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