---
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-post">`POST`</span> `/statuses`

新しい注文ステータスを作成するには、`/api/statuses`エンドポイントに`POST`リクエストを送信します。

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

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

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

## リクエスト：ボディ

| Name           | Type   | 必須 | 説明       | デフォルト値 |
| -------------- | ------ | -- | -------- | ------ |
| `description`  | string | ○  | 注文ステータス名 |        |
| `email_header` | string |    |          |        |
| `email_subj`   | string |    |          |        |
| `is_default`   | string |    |          | N      |
| `lang_code`    | string |    |          |        |
| `params`       | array  |    |          |        |
| `status`       | string |    |          |        |
| `status_id`    | int32  |    |          |        |
| `type`         | int32  |    |          | 0      |

## レスポンス

### 200

```json
{
  "status_id": "12"
}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/statuses/api-status-create/index.mdx
