> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ベンダー情報を更新

データセット内のベンダー情報を更新します。

<div id="http-request">
  ## HTTP リクエスト
</div>

```http theme={null}
PUT https://api-{location-id}.flexicapture.com/v2/dataset/vendors
```

`{location-id}` は、お使いの[サポート対象のロケーション](/ja/flexi-capture/cloud/cloud-f-cfor-invoices-api#icaas-supported-countries)に置き換えてください。

<div id="request-body">
  ## リクエスト本文
</div>

リクエスト本文の構造は次のとおりです。

```json theme={null}
{
  "region": "US",
  "vendors": [
    {
      "external_id": "string",
      "business_unit_id": "string",
      "name": [
        "string"
      ],
      "street": [
        "string"
      ],
      "city": [
        "string"
      ],
      "state": [
        "string"
      ],
      "zip": [
        "string"
      ],
      "country_code": "string",
      "vat": [
        "string"
      ],
      "national_vat": [
        "string"
      ],
      "iban": [
        "string"
      ],
      "bank_account": [
        "string"
      ],
      "bank_code": [
        "string"
      ],
      "gl_code": [
        "string"
      ]
    }
  ]
}
```

| フィールド   | 型                                | 説明               |
| ------- | -------------------------------- | ---------------- |
| `model` | body, object(UpdateVendorsModel) | 必須。Vendors のリスト。 |

<div id="updatevendorsmodel">
  ### UpdateVendorsModel
</div>

| Field       | 型                   | 説明                                                                    |
| ----------- | ------------------- | --------------------------------------------------------------------- |
| `region`    | string              | 必須。Vendors の地域。対応地域: `US`: USA、`AU`: オーストラリア、`EU`: 欧州連合加盟国、`CA`: カナダ。 |
| `vendors[]` | object(VendorModel) | 必須。Vendors のリスト。                                                      |

<div id="vendormodel">
  ### VendorModel
</div>

| Field              | 型      | 説明                            |
| ------------------ | ------ | ----------------------------- |
| `external_id`      | string | 必須。外部ベンダーのID。                 |
| `business_unit_id` | string | 必須。事業部門ID。                    |
| `name[]`           | string | 必須。ベンダー名。                     |
| `street[]`         | string | 任意。ベンダーの住所。                   |
| `city[]`           | string | 任意。ベンダーの市区町村。                 |
| `state[]`          | string | 任意。ベンダーの州。                    |
| `zip[]`            | string | 任意。ベンダーの郵便番号。                 |
| `country_code`     | string | 必須。ISO 3166-1 alpha-2形式の国コード。 |
| `vat[]`            | string | 任意。納税者ID。                     |
| `national_vat[]`   | string | 任意。国内納税者ID。                   |
| `iban[]`           | string | 任意。IBAN (国際銀行口座番号) 。          |
| `bank_account[]`   | string | 任意。銀行口座ID。                    |
| `bank_code[]`      | string | 任意。銀行コード。                     |
| `gl_code[]`        | string | 任意。総勘定元帳コード。                  |

<div id="response">
  ## レスポンス
</div>

成功した場合、サーバーは HTTP ステータス `204 No Content` を返します。
