Get the Customer Pricing for Managed Linux Servers Using the API
When you want to retrieve customer pricing details for Managed Linux Server plans using the API. This article explains how to fetch plan pricing, addon pricing, tenure-based pricing, and add or renewal pricing for Managed Linux Server products.
Description
Use this method to get details of the pricing for the Managed Server Linux plans for your Customers.
Response
Returns a map with the prices of the Managed Server Linux plans along with the prices of the other products.
The response structure for the Managed Server Linux product will be:
"productkey": { "addons": { "addon1-name":price, "addon2-name":price }, "plans": { "planid": { "action": { "tenure-in-months":price }, } } }
 
Example:
"managedserverlinuxus": { "addons": { "storage_1":0.0, "cpanel":0.0, "whmcs":0.0, "ipaddress":0.0, "storage_5":0.0, "storage_4":0.0, "storage_3":0.0, "storage_2":0.0 }, "plans": { "300011": { "renew": { "1":0.0 }, "add": { "1":0.0 } }, "300012": { "renew": { "1":0.0 }, "add": { "1":0.0 } } "300013": { "renew": { "1":0.0 }, "add": { "1":0.0 } } "300014": { "renew": { "1":0.0 }, "add": { "1":0.0 } } } }