> ## 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.

# Geschäftsbereich aktualisieren

Aktualisiert Informationen zu Geschäftsbereichen im Datensatz.

<div id="http-request">
  ## HTTP-Anfrage
</div>

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

Ersetzen Sie `{location-id}` durch Ihre [unterstützte Region](/de/flexi-capture/cloud/cloud-f-cfor-invoices-api#icaas-supported-countries).

<div id="request-body">
  ## Request-Body
</div>

Der Request-Body hat die folgende Struktur:

```json theme={null}
{
  "region": "US",
  "units": [
    {
      "external_id": "string",
      "name": [
        "string"
      ],
      "street": [
        "string"
      ],
      "city": [
        "string"
      ],
      "state": [
        "string"
      ],
      "zip": [
        "string"
      ],
      "country_code": "string",
      "vat": [
        "string"
      ]
    }
  ]
}
```

| Feld    | Typ                                    | Beschreibung                               |
| ------- | -------------------------------------- | ------------------------------------------ |
| `model` | body, object(UpdateBusinessUnitsModel) | Erforderlich. Liste der Geschäftsbereiche. |

<div id="updatebusinessunitsmodel">
  ### UpdateBusinessUnitsModel
</div>

| Feld      | Typ                       | Beschreibung                                                                                                                                        |
| --------- | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `region`  | string                    | Erforderlich. Region des Geschäftsbereichs. Unterstützte Regionen: US: USA, AU: Australien, EU: Mitgliedstaaten der Europäischen Union, CA: Kanada. |
| `units[]` | object(BusinessUnitModel) | Erforderlich. Liste der Geschäftsbereiche.                                                                                                          |

<div id="businessunitmodel">
  ### BusinessUnitModel
</div>

| Feld           | Typ    | Beschreibung                                           |
| -------------- | ------ | ------------------------------------------------------ |
| `external_id`  | string | Erforderlich. Externe ID.                              |
| `name[]`       | string | Erforderlich. Name des Geschäftsbereichs.              |
| `street[]`     | string | Optional. Straße des Geschäftsbereichs.                |
| `city[]`       | string | Optional. Stadt des Geschäftsbereichs.                 |
| `state[]`      | string | Optional. Bundesstaat des Geschäftsbereichs.           |
| `zip[]`        | string | Optional. Postleitzahl des Geschäftsbereichs.          |
| `country_code` | string | Erforderlich. Ländercode im Format ISO 3166-1 Alpha-2. |
| `vat[]`        | string | Optional. Steuer-ID.                                   |

<div id="response">
  ## Antwort
</div>

Bei Erfolg gibt der Server den HTTP-Statuscode `204 No Content` zurück.
