Loading...

Knowledge Base

Renew Single Domain Windows Hosting Orders Using the API

When you want to renew a Single Domain Windows Hosting order using the API. This article explains renewal parameters, SSL enablement, auto-renew settings, invoice options, discount handling, and response details for hosting order renewals.

Renew

 

Description

Renews an existing Single Domain Windows Hosting Order.

Parameters

 

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe OrderId which is to be renewed.
monthsIntegerRequiredThe number of months for which the Order is to be renewed.
enable-sslBooleanOptionalValues can be: true or false (default). To learn more, click here.
auto-renewBooleanRequired

Enables / Disables the Auto Renewal setting for the Order.

Note

Auto-Renewal

invoice-optionStringRequiredThis parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd
discount-amountFloatOptionalDiscount amount for the order value.

HTTP Method

POST

Example Test URL Request

US, Texas Server https://test.httpapi.com/api/singledomainhosting/windows/us/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00
India Server https://test.httpapi.com/api/singledomainhosting/windows/in/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00

Response

Returns a map of the execution details of the Renew operation.

 
 

Loading...