---
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> `/settings/{SETTING_ID}`

システムの設定を更新するには、`/api/settings/{SETTING_ID}`に対してPUTを送信します。

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

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

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

## PATH パラメータ

| Name         | Type    | 説明   |
| ------------ | ------- | ---- |
| `SETTING_ID` | integer | 設定ID |

## リクエスト：ボディ

| Name               | Type   | 必須 | 説明    |
| ------------------ | ------ | -- | ----- |
| `name`             | string | 必須 | 設定の名称 |
| `description`      | string |    | 説明    |
| `object_id`        | int32  |    |       |
| `section_id`       | int32  |    |       |
| `section_tab_id`   | int32  |    |       |
| `value`            | string |    |       |
| `edition_type`     | string |    |       |
| `handler`          | string |    |       |
| `is_global`        | string |    |       |
| `object_type`      | string |    |       |
| `position`         | int32  |    |       |
| `section_name`     | string |    |       |
| `section_tab_name` | string |    |       |
| `tooltip`          | string |    |       |

## レスポンス

### 204

```json
{}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/settings/api-setting-update/index.mdx
