Plambee Posted June 8, 2018 Share Posted June 8, 2018 Hi, does anybody know how I can disable an Order Confirmation when I use the API Command "UpgradeProduct" like this? $command = 'UpgradeProduct'; $postData = array( 'serviceid' => $serviceid, 'paymentmethod' => $paymentmethod, 'type' => 'product', 'newproductbillingcycle' => 'Free Account', 'newproductid' => $newproductid, ); $results = localAPI($command, $postData); The API Command "UpgradeProduct" has no "disable_mail" parameter and the Hookpoint "EmailPreSend" gives me as relid only the clientid, which does not help me. I would like to deactivate the order confirmation only if the product is changed by API. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.