Update a fundraising pledge

Updates the pledge fields accepted by UpdatePledgeRequest and returns the recalculated pledge resource.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idlongRequired
Fundraising pledge ID

Request

This endpoint expects an object.
payer_typeenumRequired
payer_idintegerRequired
fundraising_fund_idinteger or nullOptional
fundraising_idinteger or nullOptional
amountdouble or nullOptional
start_datedate or nullOptional
pledge_datedate or nullOptional
due_datedate or nullOptional
of_installmentsinteger or nullOptional
amount_per_installmentdouble or nullOptional
recurring_period_idinteger or nullOptional
indefiniteboolean or nullOptional
auto_renewboolean or nullOptional
notestring or nullOptional
cell_phonestring or nullOptional
emailstring or nullOptional
pairlist of enumsOptional
Allowed values:

Response

Updated pledge
statusstring
messagestring
datamap from strings to any
Updated pledge resource

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error