LedgerLou Docs is optimized for desktop.

Please open this page on a device with a wider screen.

Payables

Update vendor

Updates the master data of a vendor. Fields that are not provided remain unchanged. Fields with `null` are deleted.

PUT /v1/vendors/:id
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token.
Request Body
name string optional Name (max 255)
tax_id string | null optional Tax number
vat_id string | null optional VAT ID
iban string | null optional IBAN
bic string | null optional BIC
address object | null optional Address
default_account string | null optional Default expense account
notes string | null optional Free-text notes
Responses
200
Success
400
INVALID_INPUT Required fields are missing or values do not match the expected format.
400
NO_CHANGES
400
ACCOUNT_NOT_FOUND The specified expense or revenue account does not exist in the chart of accounts.
404
NOT_FOUND The requested resource was not found.
409
DUPLICATE_NAME
409
DUPLICATE_TAX_ID
409
DUPLICATE_VAT_ID
PUT /v1/vendors/:id
cURL
-cmd">curl --request -method">PUT -punct">\
  --url 'https://api.ledgerlou.de/v1/vendors/:id' -punct">\
  --header 'Authorization: Bearer ll_your_key'
200 Response
JSON
updated vendor.