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

E033: Update contact

PATCH /api/contacts/:id

Edits a contact's header fields. Triggered from a contact edit modal.

Authentication

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

Request

{ "firstName": "Jane", "lastName": "Doe", "title": "...", "notes": "...", "isActive": true }

Passing isActive archives (false) or reactivates (true) the contact; all fields are optional.

Response — 200 OK

{
"id": "uuid",
"firstName": "Jane",
"lastName": "Doe",
"title": "Account Manager",
"notes": "...",
"createdAt": "..."
}

Errors

HTTPcodeCondition
404not_foundNo such contact.
422validation_failedShape invalid.

Workflow

Calls W033 Update contact.