Stop a mailing
1 min
POST
https://api.campaign.episerver.net/rest/{clientId}/smartcampaigns/{campaignId}/messages/{mailingId}/stop
clientIdinteger<int64>Client ID
mailingIdinteger<int64>Campaign mailing ID
campaignIdinteger<int64>Smart Campaign ID
acceptstringGenerated from available response content types
200The mailing was stopped successfully.
409The mailing could not be stopped because the Smart Campaign must be in status "Sending" or "Paused". Please check the status of the campaign to which the mailing belongs.
curl --request POST \
--url https://api.campaign.episerver.net/rest/{clientId}/smartcampaigns/{campaignId}/messages/{mailingId}/stop \
--header 'accept: application/json'