1

我使用以下代码从列表中取消订阅联系人。但在我完成之后。我无法再次订阅该列表。有人知道为什么吗?或者无论如何我可以做到这一点?

public function subscriptionStatus($subscriptionId,$sStatus = 'normal') {
    // Valid statuses
    $aValidStatuses = array('normal', 'pending', 'unsubscribed');
    // Setup the subscription and make the call
    $aSubscriptions = $this->makeCall("/a/{$this->setAccountId()}/c/{$this->setClientFolderId()}/subscriptions/{$subscriptionId}", 'POST', 

        array('status'    => $sStatus), 'subscriptions');
    // Return the subscription
    return $aSubscriptions;
}
4

0 回答 0