API Documentation

Everything you need to know, in one place


Reactivates an expired domain

Example Request


Request Parameters

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

Name Type MaxLength Required? Description
DomainName String 70 Yes Domain name to reactivate
PromotionCode String 70 No Promotional (coupon) code for reactivating the domain
YearsToAdd Number 2 No Number of years after expiry
IsPremiumDomain Boolean 10 No Indication if the domain name is premium
PremiumPrice Currency 20 No Reactivation price for the premium domain

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<ApiResponse xmlns="http://api.namecheap.com/xml.response" Status="OK">
  <Errors />
  <Warnings />
  <CommandResponse Type="namecheap.domains.reactivate">
    <DomainReactivateResult Domain="models.tv" IsSuccess="true" ChargedAmount="650.0000" OrderID="23569" TransactionID="25080" />

Response Parameters

Name Description
DomainName Domain name that you are trying to reactivate
IsSuccess Indicates whether the domain was reactivated successfully
ChargedAmount Total amount charged for reactivation
OrderID Unique integer value that represents the order
TransactionID Unique integer value that represents the transaction

Error Codes

Specifies the error codes that might be returned from this method

Number Description
2033409 Possibly a logical error at the authentication phase. The order chargeable for the Username is not found.
2019166 Domain not found
2030166 Edit permission for the domain is not supported
2011170 Promotion code is invalid
2011280 TLD is invalid
2528166 Order creation failed
3024510 Error response from Enom while updating the domain
3050511 Unknown error response from Enom
2020166 Domain does not meet the expiration date for reactivation
2016166 Domain is not associated with your account
5050900 Unhandled exceptions
4024166 Failed to update the domain in your account
2015170 Promotion code is not allowed for premium domains
2015167 Premium domain can be reactivated for 1 year only
2015610 Premium prices cannot be zero for premium domains
2515623 You are trying to reactivate a premium domain. Premium price should be added to the request to reactivate the premium domain.
2511623 Domain name is not premium
2515610 Premium price is incorrect. It should be (premium renewal price value).


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