---
title: "カートの削除"
---

> Documentation Index
> Fetch the complete documentation index at: https://apidocs.cs-cart.jp/llms.txt
> Use this file to discover all available pages before exploring further.

# カートの削除

<span class="api-method api-method-delete">`DELETE`</span> `/carts/{USER_ID}`

指定されたユーザーのカートを削除するには、`/api/carts/{USER_ID}`に対してDELETEを送信します。 `{USER_ID}`は、ユーザーのIDです。

## リクエスト：ヘッダー

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Basic <認証情報>`     |

> **認証情報について**
>
> 認証情報は、ユーザーのEメールアドレスとAPIキーをコロンで連結したものをBase64エンコードしたものです。

## PATH パラメータ

| Name      | Type    | 説明      |
| --------- | ------- | ------- |
| `USER_ID` | integer | ユーザーのID |

## レスポンス

### 204

```json
{}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/carts/api-cart-delete/index.mdx
