• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

change plan-name reseller

G

glennsyham

Guest
how do i change plan using api on reseller. I need help please

<packet version="1.6.3.0">
<reseller>
<set>
<filter>
<login>waitserv</login>
</filter>
<values>
<gen-info>
<pname>waitserv</pname>
<login>waitserv</login>
<passwd>helloworld12$</passwd>
<status/>
</gen-info>
<plan-name>ResellerSimple</plan-name>
</values>
</set>
</reseller>
</packet>
output
<?xml version="1.0"?>
<packet version="1.6.3.0">
<system>
<status>error</status>
<errcode>1014</errcode>
<errtext>Parser error: Request is invalid. Error in line 15: Element 'plan-name': This element is not expected. Expected is one of ( limits, permissions ).</errtext>
</system> </packet>
SimpleXMLElement Object
(
[0] => Parser error: Request is invalid. Error in line 15: Element 'plan-name': This element is not expected. Expected is one of ( limits, permissions ).
)
 
change reseller plan

sorry i wasn't clear i meant was to change their reseller plan not just the name.
let's say they have plan resellerSimple I want to change it to plan ResellerOne
 
Last edited by a moderator:
found the answer myself
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<reseller>
<switch-subscription>
<filter>
<login>waitserv</login>
</filter>
<plan-guid>fb6ab166-c4fe-f5f5-0a24-f0d46488dd3c</plan-guid>
</switch-subscription>
</reseller>
</packet>

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<reseller>
<switch-subscription>
<result>
<status>ok</status>
<filter-id>waitserv</filter-id>
<id>106</id>
</result>
</switch-subscription>
</reseller>
</packet>
 
Back
Top