Description
Adds cPanel blocks as an addon for the specified order.
You can use this API to increase cPanel account limit in addition to the cPanel accounts available in the plan.
A cPanel block is a collection of cPanel accounts. (1 cPanel block = 10 cPanel accounts)
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. |
cpanel-blocks | Integer | Optional |
The addon unit of cPanel accounts. Value of this parameter will always be greater than 0 |
invoice-option | String | Required | This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd |
HTTP Method
POST
Example Test URL Request
US Server https://test.httpapi.com/api/resellerhosting/linux/us/add-cpanel-blocks.json?auth-userid=20794&api-key=xxxx&order-id=588593&cpanel-blocks=2&invoice-option=NoInvoice
India Server https://test.httpapi.com/api/resellerhosting/linux/in/add-cpanel-blocks.json?auth-userid=20794&api-key=xxxx&order-id=588593&cpanel-blocks=2&invoice-option=NoInvoice
Response
Returns a map of the execution details of the Renew operation.