Read a customer by ID
Read details of a specific customer identified by its unique ID.
Path parameters
-
A unique identifier for the customer within 24SevenOffice CRM.
GET /customers/{id}
curl \
-X GET https://rest.api.24sevenoffice.com/v1/customers/{id} \
-H "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
{
"id": 12345,
"name": "ABC Corporation",
"person": {
"firstName": "John",
"lastName": "Doe"
},
"isCompany": true,
"isSupplier": false,
"organizationNumber": "123456789",
"address": {
"visit": {
"countryCode": "NO",
"street": "Hovedgata 1",
"postalCode": "0123",
"postalArea": "Fornebu",
"countrySubdivision": "Viken"
},
"postal": {
"street": "Hovedgata 1",
"postalCode": "0123",
"postalArea": "Fornebu",
"countrySubdivision": "Viken"
},
"billing": {
"name": "ABC Corporation",
"countryCode": "NO",
"street": "Hovedgata 1",
"postalCode": "0123",
"postalArea": "Fornebu",
"countrySubdivision": "Viken"
},
"delivery": {
"name": "ABC Corporation",
"countryCode": "NO",
"street": "Hovedgata 1",
"postalCode": "0123",
"postalArea": "Fornebu",
"countrySubdivision": "Viken"
}
},
"email": {
"contact": "contact@example.com",
"billing": "billing@example.com"
},
"phone": "+47-12345678",
"createdAt": "2022-01-01 18:00:00.000Z",
"modifiedAt": "2023-12-31 18:00:00.000Z"
}