MCPサーバー

little-green-light

io.usefulapi/little-green-light
ビジネス・業務 金融・投資 公開・接続可能 MCP 2026-07-28

このMCPでできること

Manages nonprofit constituents, donor gifts, fundraising campaigns, memberships, notes and contact reports.

lgl_create_constituent
Create a constituent
WRITE: add a new constituent (person or organization) to the account, optionally with email addresses, phone numbers, street addresses and group memberships. LGL's schema marks first_name, last_name and email_addresses as required. Search first (lgl_search_constituents) to avoid creating a duplicate. LGL: POST /api/v1/constituents.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['first_name', 'last_name'], 'properties': {'gender': {'type': 'string'}, 'groups': {'type': 'array', 'items': {'type': 'object', 'required': ['group_id'], 'properties': {'date_end': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'End date (YYYY-MM-DD).'}, 'group_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Group id (see lgl_list_groups).', 'exclusiveMinimum': 0}, 'date_start': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Start date (YYYY-MM-DD).'}, 'is_current': {'type': 'boolean'}}}, 'description': 'Group memberships to add.'}, 'is_org': {'type': 'boolean', 'description': 'True if this constituent is an organization or company.'}, 'prefix': {'type': 'string', 'description': "Prefix, e.g. 'Dr.'."}, 'suffix': {'type': 'string'}, 'is_anon': {'type': 'boolean', 'description': 'Gives anonymously?'}, 'birthday': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Birthday (YYYY-MM-DD).'}, 'org_name': {'type': 'string', 'description': 'Organization name.'}, 'addressee': {'type': 'string', 'description': 'Addressee/label name.'}, 'job_title': {'type': 'string'}, 'last_name': {'type': 'string', 'minLength': 1, 'description': 'Last name.'}, 'nick_name': {'type': 'string'}, 'first_name': {'type': 'string', 'minLength': 1, 'description': 'First name.'}, 'salutation': {'type': 'string'}, 'is_deceased': {'type': 'boolean'}, 'maiden_name': {'type': 'string'}, 'middle_name': {'type': 'string'}, 'spouse_name': {'type': 'string', 'description': 'Spouse/partner name.'}, 'deceased_date': {'type': 'string', 'description': 'Deceased date.'}, 'phone_numbers': {'type': 'array', 'items': {'type': 'object', 'required': ['number'], 'properties': {'number': {'type': 'string', 'description': 'Phone number.'}, 'is_preferred': {'type': 'boolean'}, 'phone_type_name': {'type': 'string', 'description': 'Phone type name, e.g. Home, Mobile, Work.'}}}, 'description': 'Phone numbers to add.'}, 'email_addresses': {'type': 'array', 'items': {'type': 'object', 'required': ['address'], 'properties': {'address': {'type': 'string', 'description': 'Email address.'}, 'is_preferred': {'type': 'boolean'}, 'email_type_name': {'type': 'string', 'description': 'Email type name, e.g. Home, Work, Other.'}}}, 'description': 'Email addresses to add.'}, 'street_addresses': {'type': 'array', 'items': {'type': 'object', 'properties': {'city': {'type': 'string'}, 'state': {'type': 'string', 'description': 'State/province.'}, 'county': {'type': 'string'}, 'street': {'type': 'string'}, 'country': {'type': 'string'}, 'postal_code': {'type': 'string'}, 'is_preferred': {'type': 'boolean'}, 'street_type_name': {'type': 'string', 'description': 'Address type name, e.g. Home, Work.'}}}, 'description': 'Street addresses to add.'}, 'annual_report_name': {'type': 'string'}, 'external_constituent_id': {'type': 'string', 'description': "External constituent ID (your own system's id)."}, 'constituent_contact_type_name': {'type': 'string', 'description': "Constituent contact type name, e.g. 'Primary'."}}}
lgl_create_contact_report
Log a contact report
WRITE: log a contact report (a call, email or meeting with a constituent). text is required; the type may be given by id or name (e.g. 'Call'; see lgl_list_type_values type=contact_report_types). LGL: POST /api/v1/constituents/{constituent_id}/contact_reports.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['constituent_id', 'text'], 'properties': {'name': {'type': 'string', 'description': 'Short title for the report.'}, 'text': {'type': 'string', 'minLength': 1, 'description': 'What happened.'}, 'team_member': {'type': 'string', 'description': "Team member who made contact: id, email, or 'first_name last_name'."}, 'original_date': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Date of the contact (YYYY-MM-DD).'}, 'constituent_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}, 'contact_report_type_id': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'contact_report_type_name': {'type': 'string', 'description': "Type name, e.g. 'Call', 'Email', 'Meeting'."}}}
lgl_create_gift
Record a gift
WRITE: record a gift (donation, pledge payment, in-kind, etc.) on a constituent's record. This writes a CRM record of a gift that already happened — it does NOT charge a card or move money. Give gift_type_id or gift_type_name (required; see lgl_list_type_values type=gift_types). Fund, campaign, appeal, event, gift category and payment type may each be given by id or by exact name. Set ack_template_name to 'do_not_ack' to skip acknowledgment. LGL: POST /api/v1/constituents/{constituent_id}/gifts.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['constituent_id'], 'properties': {'note': {'type': 'string', 'description': 'Gift note.'}, 'fund_id': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'is_anon': {'type': 'boolean', 'description': 'Gift is anonymous.'}, 'event_id': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'appeal_id': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'fund_name': {'type': 'string'}, 'event_name': {'type': 'string'}, 'appeal_name': {'type': 'string'}, 'campaign_id': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'external_id': {'type': 'string', 'description': "External gift id (your own system's id)."}, 'team_member': {'type': 'string', 'description': "Team member credited: id, email, or 'first_name last_name' (see lgl_list_team_members)."}, 'check_number': {'type': 'string', 'description': 'Check/reference number.'}, 'deposit_date': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Deposit date (YYYY-MM-DD).'}, 'gift_type_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Gift type id.', 'exclusiveMinimum': 0}, 'campaign_name': {'type': 'string'}, 'received_date': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Gift date (YYYY-MM-DD).'}, 'constituent_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}, 'gift_type_name': {'type': 'string', 'description': "Gift type name, e.g. 'Gift'."}, 'payment_type_id': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'received_amount': {'type': 'number', 'minimum': 0, 'description': 'Gift amount.'}, 'deposited_amount': {'type': 'number', 'minimum': 0}, 'gift_category_id': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'ack_template_name': {'type': 'string', 'description': "Acknowledgment mailing template name, or 'do_not_ack'."}, 'deductible_amount': {'type': 'number', 'minimum': 0, 'description': 'Tax-deductible amount.'}, 'payment_type_name': {'type': 'string', 'description': "Payment type name, e.g. 'Check', 'Credit Card'."}, 'gift_category_name': {'type': 'string', 'description': "Gift category name, e.g. 'Donation'."}}}
lgl_create_note
Add a note
WRITE: add a note to a constituent's record. text and original_date are required; the note type may be given by id or name (e.g. 'General'; see lgl_list_type_values type=note_types). LGL: POST /api/v1/constituents/{constituent_id}/notes.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['constituent_id', 'text', 'original_date'], 'properties': {'text': {'type': 'string', 'minLength': 1, 'description': 'Note text.'}, 'external_id': {'type': 'string'}, 'note_type_id': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'original_date': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Date the note refers to (YYYY-MM-DD).'}, 'constituent_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}, 'note_type_name': {'type': 'string', 'description': "Note type name, e.g. 'General'."}}}
lgl_get_constituent
Get a constituent
Full details for one constituent by LGL id: names, salutations, addresses, phone numbers, email addresses, groups, memberships and custom attributes. LGL: GET /api/v1/constituents/{id}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}}}
lgl_get_gift
Get a gift
Full details for one gift by id: amount, deductible amount, dates, fund/campaign/appeal/event, payment type, acknowledgment template, tribute and custom fields. LGL: GET /api/v1/gifts/{id}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Gift id (integer).', 'exclusiveMinimum': 0}}}
lgl_list_appeals
List appeals
Fundraising appeals (mailings, emails, asks) with campaign, date, financial goal, cost and active flag. Use the ids and names when recording gifts or filtering searches. LGL: GET /api/v1/appeals.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}}}
lgl_list_campaigns
List campaigns
Campaigns with start/end dates, financial goal, code and active flag. Use the ids and names when recording gifts or filtering searches. LGL: GET /api/v1/campaigns.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}}}
lgl_list_constituent_contact_reports
List a constituent's contact reports
Contact reports (calls, emails, meetings) logged for a constituent, with type, date, text and team member. LGL: GET /api/v1/constituents/{constituent_id}/contact_reports.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['constituent_id'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}, 'constituent_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}}}
lgl_list_constituent_gifts
List a constituent's gifts
A constituent's giving history: every gift with amount, date, gift type, fund, campaign, appeal, event and payment type. LGL: GET /api/v1/constituents/{constituent_id}/gifts.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['constituent_id'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}, 'constituent_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}}}
lgl_list_constituent_memberships
List a constituent's memberships
A constituent's memberships: level, start date and finish date — use it to see whether someone is current or lapsed. LGL: GET /api/v1/constituents/{constituent_id}/memberships.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['constituent_id'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}, 'constituent_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}}}
lgl_list_constituent_notes
List a constituent's notes
Notes recorded on a constituent (type, text, original date). LGL: GET /api/v1/constituents/{constituent_id}/notes.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['constituent_id'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}, 'constituent_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}}}
lgl_list_events
List events
Events (galas, lunches, board weekends) with dates, campaign, event type, goal and active flag. Use the ids and names when recording gifts or filtering searches. LGL: GET /api/v1/events.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}}}
lgl_list_funds
List funds
Funds (where gifts are designated) with campaign, code, financial goal and active flag. Use the ids and names when recording gifts or filtering searches. LGL: GET /api/v1/funds.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}}}
lgl_list_groups
List groups
Constituent groups (e.g. Board Member, Staff, Volunteer) with their ids and keys. Use the ids and names when recording gifts or filtering searches. LGL: GET /api/v1/groups.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}}}
lgl_list_team_members
List team members
LGL user accounts on the team (name, email, admin flag) — the values a gift or contact report's team_member refers to. Use the ids and names when recording gifts or filtering searches. LGL: GET /api/v1/team_members.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}}}
lgl_list_type_values
List lookup values
The account's configured lookup values for one type — the ids and names other tools accept. gift_types, payment_types and gift_categories come from their own endpoints (GET /api/v1/gift_types, /payment_types, /gift_categories — the last optionally filtered by gift_type_id); every other type from GET /api/v1/types/{type} (contact_report_types, note_types, appeal_types, event_types, email/phone/street/web address types, mailing_types, volunteering_categories, list_types).
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['type'], 'properties': {'type': {'enum': ['contact_report_types', 'email_address_types', 'mailing_types', 'street_address_types', 'phone_number_types', 'web_address_types', 'volunteering_categories', 'appeal_types', 'event_types', 'note_types', 'list_types', 'gift_types', 'payment_types', 'gift_categories'], 'type': 'string', 'description': 'Which lookup to list.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}, 'gift_type_id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Only for type=gift_categories: restrict to one gift type.', 'exclusiveMinimum': 0}}}
lgl_search_constituents
Search constituents
Search active constituents (donors, members, volunteers, organizations). Give `name` and/or `email` for the common case, or raw `terms`. Available term fields: name, eaddr (email contains), phone_number, street, city, state (2-letter), postal_code, country, keyword (keyword id), updated_from / updated_to (YYYY-MM-DDTHH:MM:SSZ), membership_status (0 lapsed, 1 active), membership_level (comma-separated ids), membership_end_date_from / _to (YYYY-MM-DD), external_id, constituent_type (0 individual, 1 organization), groups (comma-separated group ids), lists (comma-separated list ids), custom_attr (key|op|value). At least one term is required. LGL: GET /api/v1/constituents/search.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'name': {'type': 'string', 'description': 'Any name field contains this.'}, 'sort': {'type': 'string', 'pattern': '^(name|external_id|lgl_id|date_created|date_updated|membership_level|membership_end_date_from)!?$', 'description': "Sort by name, external_id, lgl_id, date_created, date_updated, membership_level or membership_end_date_from. Append '!' to reverse (e.g. date_updated!)."}, 'email': {'type': 'string', 'description': 'Email address contains this.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'terms': {'type': 'array', 'items': {'type': 'string', 'minLength': 3}, 'description': "Extra raw LGL search terms, each 'field=value' (combined with AND). See the tool description for the available fields."}, 'expand': {'type': 'array', 'items': {'enum': ['class_affiliations', 'relationships', 'street_addresses', 'phone_numbers', 'email_addresses', 'web_addresses', 'categories', 'groups', 'memberships', 'custom_attrs'], 'type': 'string'}, 'description': 'Related records to include inline on each constituent.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}}}
lgl_search_gifts
Search gifts
Search active gifts across the account — e.g. everything received in a date range, or gifts to one fund or campaign. Give date/updated bounds and/or raw `terms`. Available term fields: date_from / date_to (YYYY-MM-DD), gift_types (in|ni + comma ids, e.g. in|1,7), gift_amount (gte|lte|btw|gt|lt|eq|ne + number[s], e.g. btw|100|1000), payment_types, campaigns, funds, appeals, events, categories (in|ni|bl + comma ids), appeal_types, event_types, constituent_type (0/1), gift_ids, external_gift_ids, created_from / created_to and updated_from / updated_to (YYYY-MM-DDTHH:MM:SSZ). At least one term is required. LGL: GET /api/v1/gifts/search.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'sort': {'type': 'string', 'pattern': '^(name|gift_amount|date|date_created|date_updated|fund|appeal|campaign|gift_type)!?$', 'description': "Sort by name, gift_amount, date, date_created, date_updated, fund, appeal, campaign or gift_type. Append '!' to reverse (e.g. date!)."}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': "Number of entries to return, 1-100. LGL's default is 25."}, 'terms': {'type': 'array', 'items': {'type': 'string', 'minLength': 3}, 'description': "Extra raw LGL search terms, each 'field=value' (combined with AND). See the tool description for the available fields."}, 'expand': {'type': 'array', 'items': {'enum': ['external_constituent_id', 'constituent_is_org', 'first_name', 'last_name', 'org_name', 'phone_numbers', 'email_addresses', 'street_addresses'], 'type': 'string'}, 'description': 'Donor fields to include inline on each gift.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': "Start at this entry (0-based). Use the previous page's next_item. Default 0."}, 'date_to': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Gift date to (YYYY-MM-DD).'}, 'date_from': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Gift date from (YYYY-MM-DD).'}, 'updated_to': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}Z)?$', 'description': 'Updated to (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).'}, 'updated_from': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}Z)?$', 'description': 'Updated from (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).'}}}
lgl_update_constituent
Update a constituent
WRITE: 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}.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id', 'first_name', 'last_name'], 'properties': {'id': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Constituent id (integer).', 'exclusiveMinimum': 0}, 'gender': {'type': 'string'}, 'is_org': {'type': 'boolean', 'description': 'True if this constituent is an organization or company.'}, 'prefix': {'type': 'string', 'description': "Prefix, e.g. 'Dr.'."}, 'suffix': {'type': 'string'}, 'is_anon': {'type': 'boolean', 'description': 'Gives anonymously?'}, 'birthday': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Birthday (YYYY-MM-DD).'}, 'org_name': {'type': 'string', 'description': 'Organization name.'}, 'addressee': {'type': 'string', 'description': 'Addressee/label name.'}, 'job_title': {'type': 'string'}, 'last_name': {'type': 'string', 'minLength': 1, 'description': 'Last name (required by LGL even when unchanged).'}, 'nick_name': {'type': 'string'}, 'first_name': {'type': 'string', 'minLength': 1, 'description': 'First name (required by LGL even when unchanged).'}, 'salutation': {'type': 'string'}, 'is_deceased': {'type': 'boolean'}, 'maiden_name': {'type': 'string'}, 'middle_name': {'type': 'string'}, 'spouse_name': {'type': 'string', 'description': 'Spouse/partner name.'}, 'deceased_date': {'type': 'string', 'description': 'Deceased date.'}, 'annual_report_name': {'type': 'string'}, 'external_constituent_id': {'type': 'string', 'description': "External constituent ID (your own system's id)."}, 'constituent_contact_type_name': {'type': 'string', 'description': "Constituent contact type name, e.g. 'Primary'."}}}
追加
lgl_create_contact_report
2026年10月2日2:40
追加
lgl_create_note
2026年10月2日2:40
追加
lgl_create_gift
2026年10月2日2:40
追加
lgl_update_constituent
2026年10月2日2:40
追加
lgl_create_constituent
2026年10月2日2:40
追加
lgl_list_type_values
2026年10月2日2:40
追加
lgl_list_team_members
2026年10月2日2:40
追加
lgl_list_groups
2026年10月2日2:40
追加
lgl_list_events
2026年10月2日2:40
追加
lgl_list_funds
2026年10月2日2:40
追加
lgl_list_campaigns
2026年10月2日2:40
追加
lgl_list_appeals
2026年10月2日2:40
追加
lgl_list_constituent_memberships
2026年10月2日2:40
追加
lgl_list_constituent_contact_reports
2026年10月2日2:40
追加
lgl_list_constituent_notes
2026年10月2日2:40
追加
lgl_get_gift
2026年10月2日2:40
追加
lgl_search_gifts
2026年10月2日2:40
追加
lgl_list_constituent_gifts
2026年10月2日2:40
追加
lgl_get_constituent
2026年10月2日2:40
追加
lgl_search_constituents
2026年10月2日2:40