PATCH
/
admin
/
commitments
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Data needed to edit multiple commitments
donor_entity_ids
integer[]
Example:

"[1, 2, 3]"

values
object

Response

200
application/json
Successful
message
string
Example:

"Successful"