Associate the customer with other entities
POST /customers/{uuid}/entities
The association of a customer with other entities, allows the record of the customer to be available in the intended entities.
To perform this association it is necessary to know the uuid of the customer and the clientId of the entities.
1. Associate the customer with the uuid e2343605-cf46-43de-b20b-9b7d1c95a9b2 and the entity with the clientId 523308191 e 559514166
- Request
- Response
POST /customers/e2343605-cf46-43de-b20b-9b7d1c95a9b2/entities
{
"clientId": "523308191"
}
{
"apiVersion": "1.0",
"success": true,
"data": {
"clientId": "523308191",
"createdAt": "2021-09-23T10:35:08+01:00"
}
}
Note: Customer association can only be performed by the entity that created it.