Partial update. Only these fields are accepted; others (e.g. email) are silently ignored. customFields is merged.
Path Parameters
id|emailstringrequired
Contact id or email.
Body Parameters
firstNamestring
lastNamestring
unsubscribedboolean
true turns opt-ins off, false turns them on.
customFieldsobject<string,string>
Merged into existing values.
Notes
Id or email both work. The response has NO 'unsubscribed' field: sending unsubscribed=false flipped emailOptIn and smsOptIn to true, unsubscribed=true set both to false. Unknown fields (e.g. email) are silently ignored (200, unchanged). An empty body {} returns 200. customFields are merged, not replaced.
Errors
Status
Case
Body
404
error
{"error": {"code": "NotFound", "message": "Contact not found."}}
Snippets use the MailCraftApi (C#) and MailCraft (Python) helpers from Introduction → Helpers.