Documentation

deactivateSubscription

boolean public
\Bitrix\Catalog\Product\SubscribeManager::deactivateSubscription(
 array $listSubscribeId
);

Method deactivates subscriptions by setting the current date and time in the field DATE_TO.

Parameters

ParameterDescriptionVersion
$listSubscribeIdList of subscription IDs.

Exception

  • \Exception

Example



© «Bitrix24», 2001-2024
Up