Add Storage Addon

Description

Places an addon storage block of 5 GB for the Business Email 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
order-id Integer Required Order ID of the Order for which email storage addon needs to be added
addon String Required Type of addon (email_storage_5)
quantity Integer Required The number of email storage addons to be purchased
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/eelite/us/addon/add.json?auth-userid=0&api-key=key&order-id=0&addon=email_storage_5&quantity=5&invoice-option=NoInvoice&discount-amount=0.00

Response

Returns a hash map containing the details

Note

invoiceid, sellingcurrencysymbol, sellingamount, unutilisedsellingamount and customerid will not be returned if invoice-option is set to NoInvoice.

In case of any errors, a status key with value as ERROR along with an error message will be returned.