Update a constituent
lgl_update_constituentWRITE: change scalar fields on an existing constituent (name, salutation, job title, org name, deceased flag, etc.). Only the fields you pass are sent. LGL's update schema marks first_name and last_name as required, so pass the current values (from lgl_get_constituent) if you are not changing them. Addresses, emails and phones are not edited here. LGL: PATCH /api/v1/constituents/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Constituent id (integer). | |
| gender | No | ||
| is_org | No | True if this constituent is an organization or company. | |
| prefix | No | Prefix, e.g. 'Dr.'. | |
| suffix | No | ||
| is_anon | No | Gives anonymously? | |
| birthday | No | Birthday (YYYY-MM-DD). | |
| org_name | No | Organization name. | |
| addressee | No | Addressee/label name. | |
| job_title | No | ||
| last_name | Yes | Last name (required by LGL even when unchanged). | |
| nick_name | No | ||
| first_name | Yes | First name (required by LGL even when unchanged). | |
| salutation | No | ||
| is_deceased | No | ||
| maiden_name | No | ||
| middle_name | No | ||
| spouse_name | No | Spouse/partner name. | |
| deceased_date | No | Deceased date. | |
| annual_report_name | No | ||
| external_constituent_id | No | External constituent ID (your own system's id). | |
| constituent_contact_type_name | No | Constituent contact type name, e.g. 'Primary'. |