API Documentation

Everything you must know in one place


Renews WhoisGuard privacy protection.

Example Request


Request Parameters

Global parameters are not shown here for clarity, but should be present in all requests

Name Type MaxLength Required? Description
WhoisguardID String 10 Yes WhoisGuardID to renew
Years Number 9 Yes Number of years to renew
Default Value: 1
Number 20 No Promotional (coupon) code for renewing the WhoisGuard

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<ApiResponse xmlns="http://api.namecheap.com/xml.response" Status="OK">
  <Errors />
  <Warnings />
   <CommandResponse Type="namecheap.whoisguard.renew">
      <WhoisguardRenewResult WhoisguardId="38495" Years="1" Renew="true" OrderId="580938" TransactionId="884255" ChargedAmount="6.8000"/>

Response Parameters

Name Description
WhoisGuard ID A unique integer value that represents the WhoisGuard subscription.
Years Number of years to renew
Renew Renewal status
OrderId A unique integer value that represents the Order
TransactionId A unique integer that represents the Transaction
ChargedAmount Amount charged for the WhoisGuard renewal.

Error Codes

Specifies the error codes that might be returned from this method

Number Description
2011167 No of years should be max of 9
This Whoisguard is not allowed to renew before 30 days of its expiration.So cannot Renew
Order creation failed / validation error
Unhandled exception


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close