Use this API if you wish to change the expiry date of the account.

Accounts that have been expired for more than 30 days may be subjected to deletion

  • Authentication token:
    The reseller’s authentication token to authorize use of the APIs this must be passed as type string
  • Account ID:
    The account ID of the account you wish to update the expiry date for as type integer
  • Expiry Date:
    The new expiry date as type DateTime.

CodeMessageComments
1000The Account Expiry Date has been updated Action successful
1002Invalid Authentication TokenThe authentication token is
incorrect, please check it and try
again
1007General Error. DB error Unexpected database error, if
this error occurs, try again later
1007General Error, failed to change account expiry datePlease try again and if problem
persists, please contact support
1007General ExceptionIf you receive this error, please
contact support
1008Invalid Account ID or Account ID does not existMake sure that you have a
registered account with this
account ID
1008Invalid Account ID, Email does not belong to you The account ID specified is not a
user under your reseller account

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Services/Reseller/Service.asmx HTTP/1.1
Host: www.zoolz.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
SOAPAction: “Zoolz/SuspendAccount”

<?xml version=”1.0″ encoding=”utf-8″?>
<soap12:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:soap12=”http://www.w3.org/2003/05/soap-envelope”>
<soap12:Body>
<SuspendAccount xmlns=”Zoolz”>
<authToken>string</authToken>
<email>string</email>
</SuspendAccount>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version=”1.0″ encoding=”utf-8″?>
<soap12:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:soap12=”http://www.w3.org/2003/05/soap-envelope”>
<soap12:Body>
<SuspendAccountResponse xmlns=”Zoolz”>
<SuspendAccountResult>
<Code>Success or MissingParameters or InvalidAuth or InvalidEmail or
InvalidPassword or UsedEmail or PlanError or GeneralError</Code>
<Message>string</Message>
</SuspendAccountResult>
</SuspendAccountResponse>
</soap12:Body>
</soap12:Envelope>