Knowledge Base
Categories: Cloud Linux Hosting API
Renew Cloud Hosting Orders Using the API
When you want to renew an existing Cloud Hosting order using the API. This article explains renewal parameters, invoice options, discount handling, and response details for Cloud Hosting renewals.
Description
Renews an existing Cloud 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 OrderId which is to be renewed. |
| months | Integer | Required | The number of months for which the Order is placed. |
| 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. |
HTTP Method
POST
Example Test URL Request
US Server
https://test.httpapi.com/api/cloudsites/linux/us/renew.json?auth-userid=0&api-key=key&order-id=0&months=12&invoice-option=KeepInvoice&discount-amount=0.00
India Server
https://test.httpapi.com/api/cloudsites/linux/in/renew.json?auth-userid=0&api-key=key&order-id=0&months=12&invoice-option=KeepInvoice&discount-amount=0.00
Response
Returns a map of the execution details of the Renew operation.
Did you find this article helpful?