Update Debtor
Updates a debtor
PATCH /v1/Debtors/{debtorGuid}
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| debtorGuid | path | Yes | string |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Request body fields
| Field path | Mandatory | Description |
|---|---|---|
| idNumber | No | string or null Customer ID number. |
| juridicalType | Yes | integer <int32> Type of person, juridically. |
| placeOfBirth | No | string or null Place of birth. |
| dateOfBirth | No | string <date-time> or null Date of birth. |
| gender | Yes | integer <int32> Gender of a person. |
| cultureCode | No | string or null Culture code. |
| fullName | No | string or null Full name of the customer. Optional if FirstName and LastName is used. |
| firstname | No | string or null First name of the customer. |
| middlename | No | string or null Middle name of the customer. |
| lastname | No | string or null Last name of the customer. |
| nameSuffix | No | string or null Name suffix. |
| domicile | No | string or null Domicile. |
| municipalCode | No | string or null Municipal code. |
| vatNumber | No | string or null VAT number. |
| naceCode | No | string or null NACE code. |
| homePhone | No | string or null Home phone number. |
| workPhone | No | string or null Work phone number. |
| cellularPhone | No | string or null Cellular phone number. |
| telefax | No | string or null Telefax number. |
| No | string or null E-mail. | |
| languageCode | No | string or null Language code e.g. sv, en etc. Use lowercase letters, for example sv or en. |
| currencyCode | No | string or null Currency code, e.g. SEK, NOK, EUR etc. |
| underAged | No | boolean or null Under aged boolean flag. |
| conversationNotificationChannel | Yes | integer <int32> Preferred communication channel for conversation notifications. |
| conversationNotificationEmail | No | string or null Debtor's e-mail for conversation notification. |
| conversationNotificationCellularPhone | No | string or null Debtor's cellular phone number for conversation notification. |
Response fields
HTTP 204
No response body is returned.
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
