/api/v1/customer/customer-match-customer
Create many-to-many relation between two customers.
This feature is suitable, for example, for matching clients and trainers, or for obtaining contacts on a dating site or company contact.
postApiV1CustomerCustomer-match-customerQuery Parameters
Body
managerCuRefNostringcuRefNo = customer reference number.
Example: "1cGIHvFoQDGLAbcA"customerCuRefNostringCustomer of relation.
Example: "5CmsaVNgAQqRqoen"customerEmailstringContact email address.
The system validates the input as a standard email address and automatically applies normalization and canonicalization.
All API responses return the normalized form, and each email address is globally unique per contact within the system.
Example: "jan@barasek.com"noticestringA public note for this connection. The note will be visible to both customers. For example, a trainer can write information about a new client here.
Example: "Customer prefers cardio training. Contact obtained via the website."Responses
No description
https://bizkithub.comExample Request
fetch('https://bizkithub.com/api/v1/customer/customer-match-customer?apiKey=YOUR_API_KEY', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
"managerCuRefNo": "1cGIHvFoQDGLAbcA",
"customerCuRefNo": "5CmsaVNgAQqRqoen",
"customerEmail": "jan@barasek.com",
"notice": "Customer prefers cardio training. Contact obtained via the website."
})
})Example Response
{
"success": false
}🔑 API Key Required
All BizKitHub API endpoints require authentication using an API key. The API key must be passed as a GET parameter in the URL for all requests.