---
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-put">`PUT`</span> `/vendors/{VENDOR_ID}`

指定された出品者を更新するには、`/api/vendors/{VENDOR_ID}`エンドポイントに`PUT`リクエストを送信します。

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

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

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

## PATH パラメータ

| Name        | Type    | 説明    |
| ----------- | ------- | ----- |
| `VENDOR_ID` | integer | 出品者ID |

## リクエスト：ボディ

| 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
{
  "usergroup_id": 5
}
```

### 400

```json
{}
```

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