Skip to content

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 pathMandatoryDescription
customerReferenceNostring
Customer reference
idNumberNostring
Customer ID
juridicalTypeNointeger
Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company
placeOfBirthNostring
Place of birth
dateOfBirthNostring
Date of birth
deceasedDateNostring
Deceased
vatNumberNostring
VAT number
naceCodeNostring
NACE code
homePhoneNostring
Home phone
workPhoneNostring
Work phone
cellularPhoneNostring
Cell phone
emailNostring
Email
languageCodeNostring
Language code e.g. sv, en etc. Use lowercase letters, for example sv or en.
currencyCodeNostring
Currency code, e.g. SEK, NOK, EUR etc.
genderNointeger
Customer gender; ; Possible values:; 0 = Female; 1 = Male; 2 = Unknown, or neither Female nor Male
cultureCodeNostring
Culture code
firstnameNostring
First name of the customer
middlenameNostring
Middle name of the customer
lastnameNostring
Last name of the customer
nameSuffixNostring
Name suffix
domicileNostring
Domicile
municipalCodeNostring
Municipal code
companyTypeNostring
Company type code
glnNumberNostring
GLN number
telefaxNostring
Telefax number
preferredChannelNostring
Preffered communication channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case.
underAgedNoboolean
Under aged boolean flag
invoiceChannelNostring
Preffered invoice channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case.
maritalStatusNointeger
Marital status 1 = Unmarried 2 = Married 3 = Common law spouse 4 = Widow 5 = Divorced 6 = Partner
passportNumberNostring
Passport number used for identification
driversLicenseNumberNostring
Drivers license number used for identification
clientReferenceNostring
Client reference.
parentCustomerNostring
Parent customer's guid.
fullNameNostring
Full name of the customer. Optional if FirstName and LastName is used.
streetNostring
Main address - Street
houseNoNostring
Main address - House number
houseNoExtensionNostring
Main address - House number extension
cityNostring
Main address - City
zipCodeNostring
Main address - ZipCode
stateCodeNostring
Main address - State code
countryCodeNostring
Main address - Country code
fullAddressNostring
Main address - Full address with all parts combined
customerGuidNostring
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 pathMandatoryDescription
customerGuidNostring
Unique identifier for the customer
customerReferenceNostring
Customer reference
idNumberNostring
Customer ID
juridicalTypeNointeger
Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company
placeOfBirthNostring
Place of birth
dateOfBirthNostring
Date of birth
deceasedDateNostring
Deceased
fullNameNostring
Full name of the customer
vatNumberNostring
VAT number
naceCodeNostring
NACE code
homePhoneNostring
Home phone
workPhoneNostring
Work phone
cellularPhoneNostring
Cell phone
emailNostring
Email
languageCodeNostring
Language code e.g. sv, en etc. Use lowercase letters, for example sv or en.
currencyCodeNostring
Currency code, e.g. SEK, NOK, EUR etc.
genderNointeger
Customer gender; ; Possible values:; 0 = Female; 1 = Male; 2 = Unknown, or neither Female nor Male
cultureCodeNostring
Culture code
firstnameNostring
First name of the customer
middlenameNostring
Middle name of the customer
lastnameNostring
Last name of the customer
nameSuffixNostring
Name suffix
domicileNostring
Domicile
municipalCodeNostring
Municipal code
companyTypeNostring
Company type code
glnNumberNostring
GLN number
telefaxNostring
Telefax number
preferredChannelNostring
Preffered communication channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case.
underAgedNoboolean
Under aged boolean flag
invoiceChannelNostring
Preffered invoice channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case.
maritalStatusNointeger
Marital status 1 = Unmarried 2 = Married 3 = Common law spouse 4 = Widow 5 = Divorced 6 = Partner
passportNumberNostring
Passport number used for identification
driversLicenseNumberNostring
Drivers license number used for identification
regDateYesstring
Date when customer was created.
contactPersonNostring
Primary contact person
addressesNoarray of object
A list of all addresses
addresses[].typeCodeNostring
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[].fullNameNostring
The full name of the receiving party, i.e name of person or company.
addresses[].careOfNostring
Care of address.
addresses[].streetNostring
Street address.
addresses[].houseNoNostring
House number.
addresses[].houseNoExtensionNostring
House number extension.
addresses[].cityNostring
City.
addresses[].stateCodeNostring
State code if applicable.
addresses[].zipCodeNostring
Zip code, i.e. postal code.
addresses[].fullAddressNostring
Combined address with all fields into single string.
addresses[].countryCodeNostring
Country code, i.e. EN, SE etc.
addresses[].defaultAddressNoboolean
Whether this is the default address.
addresses[].updateExistingNoboolean
Whether this should update existing or create new address.
addresses[].validFromNostring
Date when address is valid from.
addresses[].validToNostring
Date when address is valid to.
addresses[].addressNotValidNostring
Date for address not valid.
addresses[].addressNotValidOverrideNoboolean
Address not valid override flag.
linksNoarray of object
Links to adresses, extra fields, scoring, parameters, etc.
links[].typeNostring
Type of object
links[].nameNostring
Type of relation
links[].hrefNostring
URI to object
links[].resourceNostring
Resource type
links[].guidNostring
Resource guid
HTTP 400

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 401

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 403

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 408

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.