Skip to main content
Version: v1.0.0(int)

E041: Update contact-entity link

PATCH /api/contact-links/:id

Edits the role or notes on a contact-to-entity link. Triggered from Customer or Vendor detail.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.

Request

{ "role": "billing", "isPrimary": false }

Response — 200 OK

{
"id": "uuid",
"contactId": "uuid",
"entityType": "customer",
"entityId": "uuid",
"role": "billing",
"isPrimary": true,
"createdAt": "..."
}

Errors

HTTPcodeCondition
404not_foundNo such link.
422validation_failedShape invalid.

Workflow

Calls W041 Update contact-entity link.