f59881dadecd
Update a Fundraiser
This request allows you to update the details of a Fundraiser.
You can make updates to:
- Enrich data.
- Modify parameter values.
- Remove parameter values.
The Fundraiser ID must belong to the account associated with the API key.
Fundraisers from subaccounts cannot be updated using the API key of the parent account. Attempting to do so will result in an error. To update a Fundraiser in a subaccount, you must use the API key of that subaccount.
For the update to succeed, the Fundraiser object must match the current campaign settings; otherwise, the operation will fail with a validation error.
Parallel requests to update the same object are not allowed and will result in an error.
Any parameters or child parameters that are not included will remain unchanged.
Path parameters
Unique identifier of the Fundraiser, formatted as N[A-Z]{7}.
Request body
Example request
{
"campaign": "FUNXXXXXXXX",
"code": "Code-1",
"description": "I'm raising money to help protect penguins and their habitat. Join me!",
"designation": "EXXXXXXX",
"goal": {
"amount": "99.99",
"end_date": "2025-01-01"
},
"image": {
"upload_url": "https://example.com/image.jpg"
},
"livemode": true,
"name": "Run for hope",
"slug": "5003-000000D8cu_IQAA"
}Response
On success, the API returns the Fundraiser object. If parameters are invalid, the call will return an error.
Example response
{
"campaign": {
"code": "Code-1",
"id": "FUNXXXXXXXX",
"name": "My Campaign"
},
"created_at": "2024-12-20T00:00:00.000Z",
"currency": "usd",
"designation": {
"code": "Code-1",
"id": "EXXXXXXX",
"name": "My Designation"
},
"name": "Run for hope"
}