Upsert a user
upsert_userMUTATES Raisely data: creates OR updates a supporter/donor, matched by email (safer than a plain create — no duplicates). Raisely API: POST /users/upsert with the body wrapped as { data: {...} }. Typed: email (the match key), firstName, lastName; everything else (phoneNumber, address, public, private, ...) via fields. Returns the upserted user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The user's email address — the match key for upsert. Required. | ||
| fields | No | Additional documented Raisely fields to send in the JSON write body's `data` object — merged OVER the typed fields above. | |
| lastName | No | User last name. | |
| firstName | No | User first name. |