Update debtor

When updating the debtor, the address data cannot be changed in the same call. To change address data, use put for the endpoint debtor/{debtorId}/addresses/{addressId} and update individually.

Only language, customerType, preferredDocumentDelivery and properties can be changed. The debtorAccountNumber cannot be changed.

The body needs to contain all the debtors addresses for the update to work.

Please see Debtor Model below for more information regarding required values and input type.