Debitor aktualisieren
Aktualisiert die Stammdaten eines Debitors. Felder die nicht uebergeben werden, bleiben unveraendert. Felder mit `null` werden geloescht.
PUT
/v1/customers/:id Authorization
Authorization string header erforderlich API-Key im Format
ll_.... Übergabe als Bearer Token. Request Body
name string optional Name (max 255)
tax_id string | null optional Steuernummer
vat_id string | null optional USt-IdNr.
iban string | null optional IBAN
bic string | null optional BIC
address object | null optional Adresse
default_account string | null optional Standard-Erloeskonto
notes string | null optional Freitext-Notizen
Antworten
200
Erfolgreich
400
INVALID_INPUT Pflichtfelder fehlen oder Werte entsprechen nicht dem erwarteten Format.
400
NO_CHANGES
400
ACCOUNT_NOT_FOUND Das angegebene Aufwands- oder Ertragskonto existiert nicht im Kontenplan.
404
NOT_FOUND Die angeforderte Ressource wurde nicht gefunden.
409
DUPLICATE_NAME
409
DUPLICATE_TAX_ID
409
DUPLICATE_VAT_ID
PUT
cURL /v1/customers/:id -cmd">curl --request -method">PUT -punct">\
--url 'https://api.ledgerlou.de/v1/customers/:id' -punct">\
--header 'Authorization: Bearer ll_your_key' 200 Response
JSON aktualisierter Debitor.