---
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> `/features/{FEATURE_ID}`

指定された商品追加情報を更新するには、`/api/features/{FEATURE_ID}`にPUTリクエストを送信します。

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

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

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

## PATH パラメータ

| Name         | Type  | 説明       |
| ------------ | ----- | -------- |
| `FEATURE_ID` | `int` | 商品追加情報ID |

## リクエスト：ボディ

| Name                 | Type   | 必須 | 説明         |
| -------------------- | ------ | -- | ---------- |
| `company_id`         | int32  | ○  | 会社ID       |
| `description`        | string | ○  | 商品追加情報の説明  |
| `feature_type`       | string | ○  | 商品追加情報のタイプ |
| `purpose`            | string |    |            |
| `feature_style`      | string |    |            |
| `filter_style`       | string |    |            |
| `categories_path`    | string |    |            |
| `comparison`         | string |    |            |
| `display_on_catalog` | string |    |            |
| `display_on_product` | string |    |            |
| `display_on_header`  | string |    |            |
| `full_description`   | string |    |            |
| `group_position`     | int32  |    |            |
| `parent_id`          | int32  |    |            |
| `position`           | int32  |    |            |
| `prefix`             | string |    |            |
| `status`             | string |    |            |
| `suffix`             | string |    |            |
| `value`              | string |    |            |
| `value_int`          | int32  |    |            |
| `variant_id`         | int32  |    |            |
| `variants`           | array  |    |            |

## レスポンス

### 204

```json
{}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/product-features/api-product-feature-update/index.mdx
