Update a form
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/forms/{hysform_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123,
"client_id": "<string>",
"default_emailset_id": 123,
"type": "<string>",
"name": "<string>",
"prefix": "<string>",
"counter": 123,
"box_folder_id": "<string>",
"can_donor_modify_amount": "<string>",
"mailchimp_list_id": "<string>",
"forgive_missed_payments": 123,
"notify": "<string>",
"deleted_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"hide_payment": "<string>",
"hysform_id": 123
}'
{
"message": "Successfully Updated Form"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of Hysform to update
Hysform object that needs to be updated
The body is of type object
.
Successful operation
The response is of type object
.
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/forms/{hysform_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123,
"client_id": "<string>",
"default_emailset_id": 123,
"type": "<string>",
"name": "<string>",
"prefix": "<string>",
"counter": 123,
"box_folder_id": "<string>",
"can_donor_modify_amount": "<string>",
"mailchimp_list_id": "<string>",
"forgive_missed_payments": 123,
"notify": "<string>",
"deleted_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"hide_payment": "<string>",
"hysform_id": 123
}'
{
"message": "Successfully Updated Form"
}