Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Data needed to edit multiple commitments
Response
Successful
Example:
"Successful"
curl --request PATCH \
--url https://api.helpyousponsor.com/v1/admin/commitments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"donor_entity_ids": "[1, 2, 3]",
"values": {
"frequency": "1",
"until": "2022-12-31",
"method": "1",
"amount": "100.00",
"next": "2022-01-31"
}
}'
{
"message": "Successful"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data needed to edit multiple commitments
Successful
"Successful"
curl --request PATCH \
--url https://api.helpyousponsor.com/v1/admin/commitments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"donor_entity_ids": "[1, 2, 3]",
"values": {
"frequency": "1",
"until": "2022-12-31",
"method": "1",
"amount": "100.00",
"next": "2022-01-31"
}
}'
{
"message": "Successful"
}