---
title: "Delete the item from shopping cart"
method: DELETE
path: "/api/v1/carts/{customerId}/items/{itemId}"
tags: ["cart"]
---

# Delete the item from shopping cart

`DELETE /api/v1/carts/{customerId}/items/{itemId}`

Deletes the item from shopping cart of given customer

## Path parameters

- `customerId` string, required
- `itemId` string, required

## Response `202`

Accepts the request, regardless of whether the specified item exists in the cart or not.

---

[API](https://skmtc.dev/packtpublishing/apis/sample-ecommerce-app.md) · [All operations](https://skmtc.dev/packtpublishing/apis/sample-ecommerce-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/packtpublishing/sample-ecommerce-app/revisions/51a26ae44206/schema)
