Add

Description

Places a Cloud Hosting Order for the specified domain name.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required The domain name for which the Order is placed.
customer-id Integer Required The Customer under whom the Order should be added.
plan-id Integer Required The plan under which the Order should be added. To fetch the plan details i.e. plan-id etc., use this method.
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/add.json?auth-userid=0&api-key=key&domain-name=domain.com&customer-id=0&plan-id=0&months=12&invoice-option=KeepInvoice&discount-amount=0.00

 

India Server

https://test.httpapi.com/api/cloudsites/linux/in/add.json?auth-userid=0&api-key=key&domain-name=domain.com&customer-id=0&plan-id=0&months=12&invoice-option=KeepInvoice&discount-amount=0.00

 

Response

Returns a map with the execution details of the Order addition.