Get Customers
Get customers using filters
GET /v1/Customers
Use the Test or Production base URL configured under Overview.
Query parameters
Filtering uses OData filters in a simplified OData format.
| Parameter | Mandatory | Description |
|---|---|---|
$filter | No | string Filter conditions specified in a simplified OData format. |
$skip | No | integer <int32> List offset when paginating (default 0). |
$top | No | integer <int32> Maximum size of result (default 25, max 100). |
$orderby | No | string Sorting conditions. E.g. fullname desc. |
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 |
|---|---|---|
| count | Yes | integer <int32> Number of customer records in this response. |
| skip | Yes | integer <int32> Offset within the filtered result set. |
| total | Yes | integer <int32> Number of records matching the filter, across all pages. |
| value | No | array of object Customer records returned by this query. |
| value[].customerGuid | No | string Identifier uniquely assigned to this customer. |
| value[].customerReference | No | string Reference associated with the customer. |
| value[].idNumber | No | string Identification number of the customer. |
| value[].juridicalType | No | integer <int32> Legal category: 0 = individual; 1 = legal entity, such as a company. |
| value[].placeOfBirth | No | string Location where the customer was born. |
| value[].dateOfBirth | No | string <date-time> Date/time representing the customer’s birth date. |
| value[].deceasedDate | No | string <date-time> Date/time associated with the customer’s death. |
| value[].fullName | No | string Customer’s complete name. |
| value[].vatNumber | No | string VAT registration number. |
| value[].naceCode | No | string Code for the customer’s NACE industry classification. |
| value[].homePhone | No | string Telephone number for the customer’s home. |
| value[].workPhone | No | string Telephone number for the customer’s workplace. |
| value[].cellularPhone | No | string Mobile telephone number. |
| value[].email | No | string Email address. |
| value[].languageCode | No | string Language identifier, for example sv or en. Use lowercase letters, for example sv or en. |
| value[].currencyCode | No | string Currency identifier, for example SEK, NOK or EUR. |
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.
