Handles the submission of edited data for multiple entities,
curl --request PATCH \
--url https://api.helpyousponsor.com/v1/admin/program/entities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entity_ids": [
"1,2"
],
"values": {
"sp_amount": "40"
}
}
'{
"message": "Profile saved"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Data required for editing multiple entities
Entities edited successfully
"Profile saved"
curl --request PATCH \
--url https://api.helpyousponsor.com/v1/admin/program/entities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entity_ids": [
"1,2"
],
"values": {
"sp_amount": "40"
}
}
'{
"message": "Profile saved"
}