Loading...

Knowledge Base

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

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredYour Live Account Reseller ID used to authenticate the API request.
api-keyStringRequiredYour API key used to authenticate the API request.
order-idIntegerRequiredOrder ID of the Enterprise Email order for which the storage add-on needs to be added.
addonStringRequiredType of add-on. Use email_storage_5.
quantityIntegerRequiredNumber of email storage add-ons to be purchased.
invoice-optionStringRequiredDetermines how the Customer Invoice will be handled. Supported values are NoInvoice, PayInvoice, KeepInvoice, and OnlyAdd.
discount-amountFloatOptionalDiscount 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.