---
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> `/taxes/{TAX_ID}`

指定された税金を更新するには、`/api/taxes/{TAX_ID}`エンドポイントに`PUT`リクエストを送信します。

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

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

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

## PATH パラメータ

| Name     | Type    | 説明   |
| -------- | ------- | ---- |
| `TAX_ID` | integer | 税金ID |

## リクエスト：ボディ

| Name                    | Type   | 必須 | 説明     | デフォルト値 |
| ----------------------- | ------ | -- | ------ | ------ |
| `tax`                   | string | ○  | 税金名    |        |
| `regnumber`             | int32  |    | 税金登録番号 |        |
| `priority`              | int32  |    | 優先度    | 0      |
| `price_includes_tax`    | string |    |        | N      |
| `display_including_tax` | string |    |        | N      |
| `address_type`          | string |    |        | S      |
| `status`                | string |    |        | A      |

## レスポンス

### 204

```json
{}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/taxes/api-tax-update/index.mdx
