Retrieves the properties and relationships of a customer contact object for Business Central.
HTTP request
Replace the URL prefix for Business Central depending on environment following the guideline.
GET businesscentralPrefix/companies({id})/customerContacts({id})
Request headers
| Header | Value | 
|---|---|
| Authorization | Bearer {token}. Required. | 
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK response code and a customerContact object in the response body.
Example
Request
Here's an example of the request.
GET https://{businesscentralPrefix}/api/v2.0/companies({id})/customerContacts({id})
Response
Here's an example of the response.
{
    "id": "CONT00123",
    "email": "john.smith@contoso.com",
    "firstName": "John",
    "lastName": "Smith",
    "professionalTitle": "Purchasing Manager",
    "customerId": "CUST1042",
    "customerName": "Contoso Ltd.",
    "primaryPhoneNumber": "+1 425-555-0174"
}
Related information
Tips for working with the APIs
customerContact
DELETE customerContact
PATCH customerContact