Donor Details Input
Input representation of the donor details that's associated with the gift
transaction.
JSON example
1{
2 "donorType": "individual",
3 "id": "0015500000WO1ZiAAL",
4 "firstName": "Daniel",
5 "lastName": "Chavez",
6 "phone": "510-434-8920",
7 "email": "d.chavez@salesforce.com",
8 "address": [
9 {
10 "street": "123 Main Street",
11 "city": "Oakland",
12 "state": "CA",
13 "postalCode": "94610",
14 "country": "US"
15 }
16 ],
17 "accountCustomFields": [
18 {
19 "fieldName": "string",
20 "fieldValue": "string"
21 }
22 ]
23}Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| accountCustomFields | Custom Field Details Input[] | Account standard and custom fields of the donor. | Optional | 60.0 |
| address | Address Details Input[] | Address details of the donor. | Optional | 60.0 |
| donorType | String | Type of the donor. You can't use the organizationName when the donorType is set to Individual. Similarly, don't use firstName or lastName properties when the donorType is Organizational. | Required | 60.0 |
| String | Email address of the donor. | Optional | 60.0 | |
| firstName | String | First name of the donor. | Required | 60.0 |
| id | String | ID of the gift designation. This ID can also be passed as an externalID. | Optional | 60.0 |
| lastName | String | Last name of the donor. | Required | 60.0 |
| organizationName | String | Organization name of the donor. | Required | 60.0 |
| phone | String | Phone number of the donor. | Optional | 60.0 |
Example externalID format:
1{
2 "externalId": {
3 "fieldName": "<EXTERNAL_ID_FIELD_NAME>",
4 "fieldValue": "<EXTERNAL_ID_FIELD_VALUE>"
5 }
6}