notes
Set customer relationship
Sets or replaces the customer relationship of a note.
- A note can be linked to one customer only — either a User or a Company.
- If a customer relationship already exists, it will be replaced with the new one provided.
This is useful for attributing feedback to the correct user or company, especially when syncing notes from support systems or CRMs.
To remove the customer relationship completely, use the DELETE /v2/notes/{id}/relationships/customer/{targetId} endpoint.
put/notes/{id}/relationships/customer
Path parameters
idstring uuid required
Note identifier.
Request body
Example request
{
"data": {
"target": {
"type": "user"
}
}
}Response
Customer relationship replaced
Example response
{
"data": {
"type": "customer",
"target": {
"id": "123e4567-e89b-12d3-a456-426614174000"
}
}
}