Contacts
A contact is the person who receives messages. Contacts are linked to subjects through /links. In the Standard lens a contact is, for example, “Hawa Kollie”.
PATCHUpdate a contact
Requires contacts:write. Send only what changes — except attributes, which is replaced whole. A body that changes nothing is refused. An address or a number is taken away by sending “”; null, or leaving the key out, leaves it alone. Taking the last number away is only allowed where the instance takes contacts with no phone number, and leaves somebody who needs an address, a reference, no WhatsApp number and email as their channel.
200 with the updated contact. Status is not set here; use deactivate. The rules are the ones on create, judged against the record as it will be and refused in the same sentences. 409 if the number or the reference you are moving onto this record already belongs to someone else: find them with ?phone_e164 or ?external_ref= and update that record instead.
One contact: the same fields in every pack. Press Response on the sample to see one whole.
On failure the body is { error, code } instead.