Pledges
Pledges Documentation
Pledge [LIST]
Pledge [LIST]
Request
Endpoint
Body
Parameters
Sorts
amount
Type Unknown
Description sort by amount
Required No
contact.name
Type Unknown
Description sort by name of contact
Required No
expected_date
Type Unknown
Description sort by expected date
Required No
Filters
appeal_id
Type ID string
Description filter by appeal; Accepts comma separated ids of appeals
Required No
contact_id
Type ID string
Description filter by contact; Accepts comma separated ids of contacts
Required No
status
Type string
Description filter by status; Accepts "not_received", "received_not_processed", or "processed"
Required No
Response
Headers
Body
Fields
data
Type
[Pledge]
Description An array of Pledges
Pledge [POST]
Pledge [POST]
Request
Endpoint
Body
Parameters
Attributes
amount
Type
number
Description Amount of Pledge
Required No
amount_currency
Type
string
Description The currency the pledge is expected to be received in
Required No
created_at
Type
date
Description The timestamp of when this resource was created
Required No
expected_date
Type
date
Description Expected Date of Donation
Required No
status
Type
string
Description State of the processing of the donations on the pledge; one of "not_received", "received_not_processed", or "processed"
Required No
updated_at
Type
date
Description The timestamp of when this resource was last updated
Required No
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required No
Relationships
account_list.data
Type
Account List
Description The account list that this Pledge belongs to
Required No
appeal.data
Type
Appeal
Description The appeal that this Pledge belongs to
Required No
contact.data
Type
Contact
Description Contact that this Pledge belongs to
Required No
donations.data
Type
[Donation]
Description Donations associated to Pledge
Required No
Response
Headers
Body
Fields
Attributes
amount
Type
number
Description Amount of Pledge
amount_currency
Type
string
Description The currency the pledge is expected to be received in
created_at
Type
date
Description The timestamp of when this resource was created
expected_date
Type
date
Description Expected Date of Donation
status
Type
string
Description State of the processing of the donations on the pledge; one of "not_received", "received_not_processed", or "processed"
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Relationships
account_list.data
Type
Account List
Description The account list that this Pledge belongs to
appeal.data
Type
Appeal
Description The appeal that this Pledge belongs to
contact.data
Type
Contact
Description Contact that this Pledge belongs to
donations.data
Type
[Donation]
Description Donations associated to Pledge
Pledge [GET]
Pledge [GET]
Request
Endpoint
Body
Response
Headers
Body
Fields
Attributes
amount
Type
number
Description Amount of Pledge
amount_currency
Type
string
Description The currency the pledge is expected to be received in
created_at
Type
date
Description The timestamp of when this resource was created
expected_date
Type
date
Description Expected Date of Donation
status
Type
string
Description State of the processing of the donations on the pledge; one of "not_received", "received_not_processed", or "processed"
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Relationships
account_list.data
Type
Account List
Description The account list that this Pledge belongs to
appeal.data
Type
Appeal
Description The appeal that this Pledge belongs to
contact.data
Type
Contact
Description Contact that this Pledge belongs to
donations.data
Type
[Donation]
Description Donations associated to Pledge
Pledge [PUT]
Pledge [PUT]
Request
Endpoint
Body
Parameters
Attributes
amount
Type
number
Description Amount of Pledge
Required No
amount_currency
Type
string
Description The currency the pledge is expected to be received in
Required No
created_at
Type
date
Description The timestamp of when this resource was created
Required No
expected_date
Type
date
Description Expected Date of Donation
Required No
overwrite
Type
boolean
Description
Only used for updating a record where you want to ignore the server's ' 'updated_in_db_at
value and force overwrite the values for the record. ' 'Must be true
to work.
Required No
status
Type
string
Description State of the processing of the donations on the pledge; one of "not_received", "received_not_processed", or "processed"
Required No
updated_at
Type
date
Description The timestamp of when this resource was last updated
Required No
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required No
Relationships
account_list.data
Type
Account List
Description The account list that this Pledge belongs to
Required No
appeal.data
Type
Appeal
Description The appeal that this Pledge belongs to
Required No
contact.data
Type
Contact
Description Contact that this Pledge belongs to
Required No
donations.data
Type
[Donation]
Description Donations associated to Pledge
Required No
Response
Headers
Body
Fields
Attributes
amount
Type
number
Description Amount of Pledge
amount_currency
Type
string
Description The currency the pledge is expected to be received in
created_at
Type
date
Description The timestamp of when this resource was created
expected_date
Type
date
Description Expected Date of Donation
status
Type
string
Description State of the processing of the donations on the pledge; one of "not_received", "received_not_processed", or "processed"
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Relationships
account_list.data
Type
Account List
Description The account list that this Pledge belongs to
appeal.data
Type
Appeal
Description The appeal that this Pledge belongs to
contact.data
Type
Contact
Description Contact that this Pledge belongs to
donations.data
Type
[Donation]
Description Donations associated to Pledge
Pledge [DELETE]
Pledge [DELETE]
Request
Endpoint
Body
Response
Headers
Body
Last updated