The convert-to-customer operation is used to convert a reseller into a customer.
Resellers without subscriptions are converted to customers without subscriptions. Only contact information and login credentials are preserved; all resource allotments are reset.
Each subscription of the newly converted customer account is either subscribed to a specified service plan, or becomes a custom subscription inheriting all settings of a reseller subscription, except in cases when a subscription had unlimited resources but they were limited for the reseller account. In such cases, each subscription is allocated the amount of resources that remain unused by the reseller account.
A request XML packet that switches a reseller account to a different reseller plan includes the convert-to-customer operation node:
<packet>
<reseller>
<convert-to-customer>
...
</convert-to-customer>
</reseller>
</packet>
The convert-to-customer node has the following graphical representation:
reseller.xsd
). For more information on filters, refer to the Available Filters section.A request packet that converts a reseller account with ID 5 into a customer looks as follows:
<packet>
<reseller>
<convert-to-customer>
<filter>
<login>reseller1</login>
</filter>
<plan-name>Default Domain</plan-name>
</convert-to-customer>
</reseller>
</packet>
The convert-to-customer node of the output XML packet is structured as follows:
plesk_common.xsd
). A positive response can look as follows:
<packet version="1.6.7.0">
<reseller>
<convert-to-customer>
<result>
<status>ok</status>
<filter-id>reseller1</filter-id>
<id>5</id>
</result>
</convert-to-customer>
</reseller>
</packet>