• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

service plan customer change

G

glennsyham

Guest
how do i switch service plan for a customer using api?
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<customer>
<switch-subscription>
<filter>
<id>54</id>
</filter>
<plan-guid>19280c23-1a98-e538-23cb-b519330da617</plan-guid>
</switch-subscription>
</customer>
</packet>

my service plan:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<service-plan>
<get>
<filter>
<name>Pro</name>
</filter>
</get>
</service-plan>
</packet>

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<service-plan>
<get>
<result>
<status>ok</status>
<id>9</id>
<name>Pro</name>
<guid>be5fcef9-1bdb-20e2-9346-6b018d3c0221</guid>
<external-id/>
 
nvm i got it
get webspace id
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<webspace>
<get>
<filter>
<owner-login>waitserv</owner-login>
</filter>
<dataset>
<hosting/>
</dataset>
</get>
</webspace>
</packet>

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<webspace>
<get>
<result>
<status>ok</status>
<filter-id>waitserv</filter-id>
<id>24</id>
<data>
<gen_info>
<cr_date>2011-09-21</cr_date>

then change webspace plan
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<webspace>
<switch-subscription>
<filter>
<id>24</id>
</filter>
<plan-guid>be5fcef9-1bdb-20e2-9346-6b018d3c0221</plan-guid>
</switch-subscription>
</webspace>
</packet>

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