---
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> `/vendors`

新しい出品者を作成するには、`/api/vendors`エンドポイントに`POST`リクエストを送信します。

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

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

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

## リクエスト：ボディ

| Name                          | Type   | 必須      | 説明                 | デフォルト値 |
| ----------------------------- | ------ | ------- | ------------------ | ------ |
| `company`                     | string | ○       | 出品者名               |        |
| `storefront`                  | string |         | デフォルトは`api`        | `api`  |
| `company_description`         | string |         |                    |        |
| `status`                      | string |         | `N`, `A`, `P`, `D` | `A`    |
| `lang_code`                   | string |         |                    |        |
| `email`                       | string | ○       | Eメールアドレス           |        |
| `phone`                       | string | ○       | 電話番号               |        |
| `url`                         | string |         | URL                |        |
| `fax`                         | string |         | FAX番号              |        |
| `address`                     | string | ○       | 住所                 |        |
| `city`                        | string | ○       | 市区町村               |        |
| `country`                     | string | ○       | 国                  |        |
| `state`                       | string | ○       | 都道府県               |        |
| `zipcode`                     | string | ○       | 郵便番号               |        |
| `pre_moderation`              | string |         |                    |        |
| `pre_moderation_edit`         | string |         |                    |        |
| `pre_moderation_edit_vendors` | string |         |                    |        |
| `categories`                  | string |         |                    |        |
| `shippings`                   | array  |         |                    |        |
| `commission`                  | string |         | 例）10.55            |        |
| `commission_type`             | string | `A`/`P` |                    |        |
| `terms`                       | string |         |                    |        |

## レスポンス

### 200

```json
{}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/vendors/api-vendor-create/index.mdx
