Knowledge Base
Categories: Business & Enterprise Email API
Add a Storage Add-on to an Enterprise Email Order Using the API
Summary
When you want to add storage to an existing Enterprise Email order using the API. This article explains the required order and storage inputs and how to submit the storage add-on request.
Description
Places an add-on storage block of 5 GB for an Enterprise Email order.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
auth-userid | Integer | Required | Your Live Account Reseller ID used to authenticate the API request. |
api-key | String | Required | Your API key used to authenticate the API request. |
order-id | Integer | Required | Order ID of the Enterprise Email order for which the storage add-on needs to be added. |
addon | String | Required | Type of add-on. Use email_storage_5. |
quantity | Integer | Required | Number of email storage add-ons to be purchased. |
invoice-option | String | Required | Determines how the Customer Invoice will be handled. Supported values are NoInvoice, PayInvoice, KeepInvoice, and 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/enterpriseemail/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 of the request.
Note
If invoice-option is set to NoInvoice, the following values are not returned:
-
invoiceid -
sellingcurrencysymbol -
sellingamount -
unutilisedsellingamount -
customerid
If an error occurs, the response contains a status key with the value ERROR, along with the relevant error message.
Did you find this article helpful?