---
title: "Clear the shop cart"
method: DELETE
path: "/api/v1/marketplace/cart"
tags: ["Marketplace", "Commerce and purchases"]
---

# Clear the shop cart

`DELETE /api/v1/marketplace/cart`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/v1/marketplace/cart`
- Auth: HTTP bearer

Deletes every ShopCartItem for the authenticated user. DELETE /api/v1/marketplace/cart/{itemId} still removes one line. Does not refund purchases or touch another user's cart.

## Response `200`

{ success, data: { removed } } — removed is the number of cart lines deleted.

## Other responses

- `401`: UNAUTHORIZED

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/v1/marketplace/cart/delete.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
