Allows a donor to update their information.
curl --request PUT \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/details/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--header 'session_id: <api-key>' \
--data '{
"dn_donor_name": "<string>",
"username": "<string>",
"email": "<string>",
"password": "<string>",
"do_not_email": "1",
"field": "<string>"
}'
{
"status": "success",
"redirect": "<string>"
}
Use a session id to authenticate
Client ID associated with the donor
Program ID associated with the donor
Session ID for the donor
Donor's updated information
The body is of type object
.
Donor information updated successfully
The response is of type object
.
curl --request PUT \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/details/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--header 'session_id: <api-key>' \
--data '{
"dn_donor_name": "<string>",
"username": "<string>",
"email": "<string>",
"password": "<string>",
"do_not_email": "1",
"field": "<string>"
}'
{
"status": "success",
"redirect": "<string>"
}