---
title: "Remove a customer credit from a Basket"
method: DELETE
path: "/shop/basket/{basketId}/customer-credits/{customerCredit}"
tags: ["Baskets"]
---

# Remove a customer credit from a Basket

`DELETE /shop/basket/{basketId}/customer-credits/{customerCredit}`

Detaches a previously-applied `CustomerCredit` from the basket.
The credit's balance is restored to the customer and the
basket's outstanding payment amount is recalculated.

## Response `204`

The customer credit was successfully removed from the basket.

## Other responses

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