Newer Version Available
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 "organizationName": "mini cat town", 5 "firstName": "Daniel", 6 "lastName": "Chavez", 7 "phone": "510-434-8920", 8 "email": "d.chavez@salesforce.com", 9 "address": [ 10 { 11 "addressType": "mailing", 12 "street": "123 Main Street", 13 "city": "Oakland", 14 "state": "CA", 15 "postalCode": "94610", 16 "country": "US" 17 } 18 ], 19 "accountCustomFields": [ 20 { 21 "fieldName": "string", 22 "fieldValue": "string" 23 } 24 ] 25} - Properties
-
Name Type Description Required or Optional Available Version accountCustomFields Custom Field Details Input[] Account 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 Organization.
Required 60.0 email String Email address of the donor. Optional 60.0 firstName String First name of the donor. Required 60.0 id String ID of the donor. 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