Renew

Description

Renews an existing Reseller Linux Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID which is to be renewed.
months Integer Required The number of months for which the Order is to be renewed.
auto-renew Boolean Required

Enables / Disables the Auto Renewal setting for the Order.

invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd
discount-amount Float Optional Discount amount for the order value.
cpanel-blocks Integer Optional

The addon unit of cPanel accounts. 
If the value of this parameter is 1, 10 cPanel accounts will be added.
(1 cPanel block = 10 cPanel accounts)

Value of this parameter will always be greater than 0

HTTP Method

POST

Example Test URL Request

US Server https://test.httpapi.com/api/resellerhosting/linux/us/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00&cpanel-blocks=1 UK Server https://test.httpapi.com/api/resellerhosting/linux/uk/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00&cpanel-blocks=1

Response

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