Add Add-on

Description

Adds the specified Add-on for an existing VPS Linux KVM Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required Order ID of the Order for which the specified Add-on(s) is/are to be added
addon Array of Strings Required Add-ons can be one of the following:
  • For SSD-based plans (cPanel optional):

    • cpanel (only with CentOS 7 server)
    • plesk_10_domain (only with CentOS, Ubuntu, Debian)
    • plesk_30_domain (only with CentOS, Ubuntu, Debian)
    • plesk_unlimited_domain (only with CentOS, Ubuntu, Debian)
    • ipaddress
    • whmcs
  • For SSD-based plans (cPanel included):

    • ipaddress
    • whmcs
  • For HDD-based plans (cPanel included):

    • ipaddress
    • storage_1
    • storage_2
    • storage_3
    • storage_4
    • storage_5
    • whmcs
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/virtualserver/linux/us/addon/add.json?auth-userid=0&api-key=key&order-id=0&addon=ipaddress&invoice-option=NoInvoice&discount-amount=0.00
India Server https://test.httpapi.com/api/virtualserver/linux/in/addon/add.json?auth-userid=0&api-key=key&order-id=0&addon=ipaddress&invoice-option=NoInvoice&discount-amount=0.00

Response

Returns a map of the execution details of the adding Add-on operation.