Skip to main content
PUT

Overview

Use this endpoint to assign a supplier to one or more company codes. The request always replaces the supplier’s full assignment list.
Send an empty array to remove all company-code assignments. The supplier then becomes tenant-wide again.

Permissions

The API key must be linked to a customer.

Headers

Path parameters

Request body

Example

Remove all assignments

Behavior

  • The submitted list replaces all existing company-code assignments for the supplier.
  • Duplicate numbers are not allowed.
  • The supplier must belong to the customer linked to the API key.
  • All company codes must belong to the same customer.

Response codes

Authorizations

X-API-Key
string
header
required

API-Schlüssel zur Authentifizierung. Kontaktieren Sie Ihren Customer Success Manager, um einen API-Schlüssel zu erhalten.

Jeder Endpunkt erfordert spezifische Berechtigungen (Scopes); die erforderlichen Scopes werden pro Endpunkt angezeigt.

Path Parameters

id
string<uuid>
required

UUID des Lieferanten

Body

application/json

Vollständige Liste der Buchungskreisnummern für diesen Lieferanten. Ein leeres Array entfernt alle Zuordnungen.

Example:

Response

Buchungskreis-Zuordnung erfolgreich ersetzt

supplierId
string<uuid>
required

UUID des Lieferanten

Example:

"33333333-3333-4333-8333-333333333333"

Buchungskreisnummern, die nach dem Replace gespeichert sind

Example: