Search gifts
lgl_search_giftsSearch 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort by name, gift_amount, date, date_created, date_updated, fund, appeal, campaign or gift_type. Append '!' to reverse (e.g. date!). | |
| limit | No | Number of entries to return, 1-100. LGL's default is 25. | |
| terms | No | Extra raw LGL search terms, each 'field=value' (combined with AND). See the tool description for the available fields. | |
| expand | No | Donor fields to include inline on each gift. | |
| offset | No | Start at this entry (0-based). Use the previous page's next_item. Default 0. | |
| date_to | No | Gift date to (YYYY-MM-DD). | |
| date_from | No | Gift date from (YYYY-MM-DD). | |
| updated_to | No | Updated to (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ). | |
| updated_from | No | Updated from (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ). |