updateContact patches selected fields without changing the contact’s email
address.
automations/update-resend-contact.automation.ts
contactId is a contact ID or email. patch must include at least one of
firstName, lastName, string properties, segments, topics, or
unsubscribed. Segment references are exact names or IDs. Optional account
selects the binding. Returns { id: string; object: string }.
Values in the patch are provider updates, and supplying segment membership can
replace membership according to Resend’s contact update semantics.