Customer
Creates a new customer's contact
post/core/latest/customers/{customer-id}/contacts
Request
- Base URL: https://api.klara.ch
- URL: https://api.klara.ch/core/latest/customers/{customer-id}/contacts
- Auth: one of:
- API key in header X-API-KEY
- HTTP bearer
Path parameters
customer-idstring required
Example:1
The id of the requested customer to add new contact to
Request body
Example request
{
"id": "1",
"imageId": "1",
"salutation": "MALE",
"firstName": "John",
"lastName": "Henry",
"email": "john.henry@gmail.com",
"website": "www.youtube.com",
"phones": [
{
"id": "1",
"phoneNumber": "+41783334444",
"type": "PRIVATE"
}
],
"onlinePlatforms": [
{
"id": "1",
"platformName": "FACEBOOK",
"platformValue": "www.linkedin.com/abc"
}
],
"customFields": [
{
"id": "1",
"customName": "name at home",
"customValue": "John Henry"
}
],
"birthday": "2020-12-20",
"note": "this is a important contact."
}Response
Customer's new contact created
Example response
{
"id": "1",
"imageId": "1",
"salutation": "MALE",
"firstName": "John",
"lastName": "Henry",
"email": "john.henry@gmail.com",
"website": "www.youtube.com",
"phones": [
{
"id": "1",
"phoneNumber": "+41783334444",
"type": "PRIVATE"
}
],
"onlinePlatforms": [
{
"id": "1",
"platformName": "FACEBOOK",
"platformValue": "www.linkedin.com/abc"
}
],
"customFields": [
{
"id": "1",
"customName": "name at home",
"customValue": "John Henry"
}
],
"birthday": "2020-12-20",
"note": "this is a important contact."
}Changes
No recorded changes to this operation across all 1 revision of this API.