Update Customer
Updates a customer
PATCH /v1/Customers/{customerGuid}
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| customerGuid | 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 |
|---|---|---|
| customerReference | No | string Customer reference |
| idNumber | No | string Customer ID |
| juridicalType | No | integer Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company |
| placeOfBirth | No | string Place of birth |
| dateOfBirth | No | string Date of birth |
| deceasedDate | No | string Deceased |
| vatNumber | No | string VAT number |
| naceCode | No | string NACE code |
| homePhone | No | string Home phone |
| workPhone | No | string Work phone |
| cellularPhone | No | string Cell phone |
| No | string | |
| languageCode | No | string Language code e.g. sv, en etc. Use lowercase letters, for example sv or en. |
| currencyCode | No | string Currency code, e.g. SEK, NOK, EUR etc. |
| gender | No | integer Customer gender; ; Possible values:; 0 = Female; 1 = Male; 2 = Unknown, or neither Female nor Male |
| cultureCode | No | string Culture code |
| firstname | No | string First name of the customer |
| middlename | No | string Middle name of the customer |
| lastname | No | string Last name of the customer |
| nameSuffix | No | string Name suffix |
| domicile | No | string Domicile |
| municipalCode | No | string Municipal code |
| companyType | No | string Company type code |
| glnNumber | No | string GLN number |
| telefax | No | string Telefax number |
| preferredChannel | No | string Preffered communication channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case. |
| underAged | No | boolean Under aged boolean flag |
| invoiceChannel | No | string Preffered invoice channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case. |
| maritalStatus | No | integer Marital status 1 = Unmarried 2 = Married 3 = Common law spouse 4 = Widow 5 = Divorced 6 = Partner |
| passportNumber | No | string Passport number used for identification |
| driversLicenseNumber | No | string Drivers license number used for identification |
| parentCustomer | No | string Parent customer's guid. |
Response fields
Mandatory describes null handling: No means the source permits null, while Yes means it does not. Field meaning remains TBD until confirmed.
HTTP 204
No response body is declared.
HTTP 400
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 401
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 403
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 408
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
