People
A person is the person who receives messages. People are linked to memberships through /links. In the Political party pack a person is, for example, “Hawa Kollie”.
PATCHUpdate a person
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 people 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 person. 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 person: the same fields in every pack. Press Response on the sample to see one whole.
On failure the body is { error, code } instead.