Schedule subscription changes
Schedule specific changes for a subscription to be applied at the end of the billing cycle. Use the scheduledProductUpdate method to change specific details about a subscription.
Parameters
Parameters
Type/Description
Response
Parameters
Type/Description
Request
<?php
require('PATH_TO_AUTH');
$subscriptionReference = 'YOUR_SUBSCRIPTION_REFERENCE';
$newProductCode = 'PRODUCT_V2';
$newPricingOptions = 'OPTION_CODE1;OPTION_CODE2';
$newQuantity = 2;
$jsonRpcRequest = [
'method' => 'scheduleProductUpdate',
'params' => [$sessionID, $subscriptionReference, $newProductCode, $newPricingOptions, $newQuantity],
'id' => $i++,
'jsonrpc' => '2.0'
];
var_dump(callRPC((object)$jsonRpcRequest, $host, true));FAQ:
Last updated
Was this helpful?