Add Add-on

Description

Adds the specified Add-on for an existing Wordpress 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 Order ID of the Order for which the specified Add-on(s) is/are to be added
addon String Required Add-ons can be one of the following:
  • cpu_1
  • ram_1
  • ipaddress
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

https://test.httpapi.com/restapi/product/wordpresshostingusa/order/{order-id}/addon?auth-userid=0&api-key=key&addon=cpu_1&invoice-option=NoInvoice&discount-amount=0.00

Response

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