Donation campaigns
Activate or end a donation campaign
Starts or stops the donation campaign specified in the path, by providing a path parameter. Use the path parameter activate to start an inactive campaign, or end to stop an active campaign. Other status transitions are not allowed.
To make this request, your API credential must have the following role:
- Management API—Campaign Management read and write
post/companies/{companyId}/campaignManagement/{donationCampaignId}/status/{status}
Path parameters
companyIdstring required
The unique identifier of the company account.
donationCampaignIdstring required
The unique identifier of the donation campaign to activate or end.
status'activate' | 'end' required
The desired status change. Possible values: activate or end.
Response
OK - the request has succeeded.