Create Customer
Creates a new customer
PUT /v1/Customers
Use the Test or Production base URL configured under Overview.
Request parameters
No path or query parameters are declared in the source.
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 |
| clientReference | No | string Client reference. |
| parentCustomer | No | string Parent customer's guid. |
| fullName | No | string Full name of the customer. Optional if FirstName and LastName is used. |
| street | No | string Main address - Street |
| houseNo | No | string Main address - House number |
| houseNoExtension | No | string Main address - House number extension |
| city | No | string Main address - City |
| zipCode | No | string Main address - ZipCode |
| stateCode | No | string Main address - State code |
| countryCode | No | string Main address - Country code |
| fullAddress | No | string Main address - Full address with all parts combined |
| customerGuid | No | string Optional customer guid, if you don't want CLVR to assign a 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 201
Media types: application/json, application/vnd.error+json.
| Field path | Mandatory | Description |
|---|---|---|
| customerGuid | No | string Unique identifier for the customer |
| 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 |
| fullName | No | string Full name of the customer |
| 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 |
| regDate | Yes | string Date when customer was created. |
| contactPerson | No | string Primary contact person |
| addresses | No | array of object A list of all addresses |
| addresses[].typeCode | No | string The type code of the address, i.e. what the address is used for, e.g. LEGAL, AVI, INVOICE, SITE, DELIVERY, TRUSTACCNT. Should be used one of predefined values using correct letter case. |
| addresses[].fullName | No | string The full name of the receiving party, i.e name of person or company. |
| addresses[].careOf | No | string Care of address. |
| addresses[].street | No | string Street address. |
| addresses[].houseNo | No | string House number. |
| addresses[].houseNoExtension | No | string House number extension. |
| addresses[].city | No | string City. |
| addresses[].stateCode | No | string State code if applicable. |
| addresses[].zipCode | No | string Zip code, i.e. postal code. |
| addresses[].fullAddress | No | string Combined address with all fields into single string. |
| addresses[].countryCode | No | string Country code, i.e. EN, SE etc. |
| addresses[].defaultAddress | No | boolean Whether this is the default address. |
| addresses[].updateExisting | No | boolean Whether this should update existing or create new address. |
| addresses[].validFrom | No | string Date when address is valid from. |
| addresses[].validTo | No | string Date when address is valid to. |
| addresses[].addressNotValid | No | string Date for address not valid. |
| addresses[].addressNotValidOverride | No | boolean Address not valid override flag. |
| links | No | array of object Links to adresses, extra fields, scoring, parameters, etc. |
| links[].type | No | string Type of object |
| links[].name | No | string Type of relation |
| links[].href | No | string URI to object |
| links[].resource | No | string Resource type |
| links[].guid | No | string Resource guid |
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.
