Open rayflores opened 8 years ago
Not at this time, I'm afraid.
Should be able to, just set the plan to 0 (zero) on ac.api("account/add", $data) endpoint.
Eg: https://github.com/ActiveCampaign/example-reseller_account_manage/blob/master/index.php#L108
Explained in the reseller api docs here: https://www.activecampaign.com/partner/api/example.php?call=account_add
I use it in my package all the time (nodeJs): https://github.com/molinto/activecampaign-reseller/blob/master/lib/reseller.js#L86
Sharry
:+1: that's where I ended up... the fact that it is looking for the list of plans, then $_POSTed value, but sets it for the 'free' one... i found the same thing while digging through this example. Thanks Sharry!
Any way to add a free trial via the API? under the reseller account?