Add unsubscribe API method
It can be used by calling: ``` $mailpoet_api = \MailPoet\API\API::MP('v1'); $mailpoet_api->unsubscribe($subscriberId); ``` [MAILPOET-5152]
This commit is contained in:
committed by
Aschepikov
parent
d37b961c2b
commit
c507229dd2
@ -24,4 +24,5 @@ class APIException extends \Exception {
|
||||
const LIST_USED_IN_FORM = 21;
|
||||
const FAILED_TO_DELETE_LIST = 22;
|
||||
const LIST_TYPE_IS_NOT_SUPPORTED = 23;
|
||||
const SUBSCRIBER_ALREADY_UNSUBSCRIBED = 24;
|
||||
}
|
||||
|
Reference in New Issue
Block a user