LedgerLou Docs is optimized for desktop.

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

Receivables

Deactivate customer

Soft-delete: sets `is_active` to `false`. Customers with open invoices cannot be deactivated.

DELETE /v1/customers/:id
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token.
Responses
200
Success
400
INVALID_INPUT Required fields are missing or values do not match the expected format.
404
NOT_FOUND The requested resource was not found.
409
HAS_OPEN_INVOICES
DELETE /v1/customers/:id
cURL
-cmd">curl --request -method">DELETE -punct">\
  --url 'https://api.ledgerlou.de/v1/customers/:id' -punct">\
  --header 'Authorization: Bearer ll_your_key'
200 Response
JSON
deactivated customer.