curl --request PUT \
--url https://api.helpyousponsor.com/v1/donor/{id}/edit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"client_id": "1",
"dn_donor_name": "John Doe",
"dn_payment_type": "CC Monthly",
"dn_child_sponsored": "Tonny Green",
"username": "new_username",
"email": "[email protected]",
"dn_address": "[email protected]",
"password": "new_password",
"id": "1",
"hysform_id": "1"
}
'{
"status": "success",
"data": {
"message": "Profile saved"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the donor to be edited
"1"
"John Doe"
"CC Monthly"
"Tonny Green"
"new_username"
"new_password"
"1"
"1"
curl --request PUT \
--url https://api.helpyousponsor.com/v1/donor/{id}/edit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"client_id": "1",
"dn_donor_name": "John Doe",
"dn_payment_type": "CC Monthly",
"dn_child_sponsored": "Tonny Green",
"username": "new_username",
"email": "[email protected]",
"dn_address": "[email protected]",
"password": "new_password",
"id": "1",
"hysform_id": "1"
}
'{
"status": "success",
"data": {
"message": "Profile saved"
}
}