Remove scheduled subscription changes
Delete subscription changes scheduled to be applied at the end of the billing cycle. Use the removeScheduledProductUpdate method to remove the changes.
Parameters
Parameters
Type/Description
sessionID
Required (String) Session identifier, the output of the Login method. Include sessionID into all your requests. 2Checkout throws an exception if the values are incorrect. The sessionID expires in 10 minutes.
SubscriptionReference
Required (String) The system-generated reference code of the subscription.
Response
Parameters
Type/Description
Boolean
True or False depending on whether the changes were successful or not.
Request
<?php
require ('PATH_TO_AUTH');
$subscriptionReference = 'YOUR_SUBSCRIPTION_REFERENCE';
try {
$scheduledProductUpdate = $client->removeScheduledProductUpdate($sessionID, $subscriptionReference);
} catch (SoapFault $e) {
echo "removeScheduledProductUpdate: " . $e->getMessage();
exit;
}
var_dump("removeScheduledProductUpdate", $scheduledProductUpdate);FAQ:
Last updated
Was this helpful?