Get Customer
Get customer details.
GET /v1/Customers/{guid}
Use the Test or Production base URL configured under Overview.
Path parameters
All path parameters are required.
| Parameter | Description |
|---|---|
| guid | string The GUID representing the customer. |
Query parameters
This call has no query parameters.
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview. No OAuth scope is required. TBD: Any additional access permissions. Content types below come from the source.
Request body fields
No request body is declared in the source.
Response fields
Mandatory describes null handling: No means the source permits null, while Yes means it does not.
HTTP 200
Media types: application/json, application/vnd.error+json.
| Field path | Mandatory | Description |
|---|---|---|
| customerGuid | No | string Identifier uniquely assigned to this customer. |
| customerReference | No | string Reference associated with the customer. |
| idNumber | No | string Identification number of the customer. |
| juridicalType | No | integer <int32> Legal category: 0 = individual; 1 = legal entity, such as a company. |
| placeOfBirth | No | string Location where the customer was born. |
| dateOfBirth | No | string <date-time> Date/time representing the customer’s birth date. |
| deceasedDate | No | string <date-time> Date/time associated with the customer’s death. |
| fullName | No | string Customer’s complete name. |
| vatNumber | No | string VAT registration number. |
| naceCode | No | string Code for the customer’s NACE industry classification. |
| homePhone | No | string Telephone number for the customer’s home. |
| workPhone | No | string Telephone number for the customer’s workplace. |
| cellularPhone | No | string Mobile telephone number. |
| No | string Email address. | |
| languageCode | No | string Language identifier, for example sv or en. Use lowercase letters, for example sv or en. |
| currencyCode | No | string Currency identifier, for example SEK, NOK or EUR. |
| gender | No | integer <int32> 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 <int32> 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-time> 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-time> Date when address is valid from. |
| addresses[].validTo | No | string <date-time> Date when address is valid to. |
| addresses[].addressNotValid | No | string <date-time> 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 404
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.
