Hi, I'm using mailiwzz api for creating campaign in my CRM. I Could make campaign , but i need to pause or check as draft campaign immediately after create campaing. I used this method:
But got this error:
Best regards
Code:
// CREATE THE ENDPOINT
$endpoint = new MailWizzApi_Endpoint_Campaigns();
// Pause/Unpause CAMPAIGN
$response = $endpoint->pauseUnpause('CAMPAIGN-UNIQUE-ID');
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';
Code:
MailWizzApi_Params Object
(
[_data:MailWizzApi_Params:private] => Array
(
[status] => error
[error] => Forbidden
)
[_readOnly:MailWizzApi_Params:private] =>
)