Upgrading Customer Account to Reseller Account

The convert-to-reseller operation is used to upgrade customer accounts to reseller accounts.

Next in this section:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet upgrading customer accounts to reseller accounts includes the convert-to-reseller node:

<packet>
<customer>
   <convert-to-reseller>
   ...
   </convert-to-reseller>
</customer>
</packet>

 

The convert-to-reseller node does not have a separate type, it is nested within the ClientTypeRequest complex type (client_input.xsd). Its graphical representation is as follows:


 

Response Packet Structure

The convert-to-reseller node of the output XML packet is structured as follows:

ConvertToReseller

 

Samples

A request packet converting a customer account into a reseller account looks as follows:

<packet>
<customer>
   <convert-to-reseller>
      <filter>
         <login>JDoe</login>
      </filter>
   </convert-to-reseller>
</customer>
</packet>

Response:

<packet version="1.6.7.0">
<customer>
   <convert-to-reseller>
       <result>
          <status>ok</status>
          <filter-id>JDoe</filter-id>
          <id>192</id>
       </result>
   </convert-to-reseller>
</customer>
</packet>