Get the Customer Pricing for Dedicated Linux Servers Using the API
When you want to retrieve customer pricing details for Dedicated 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 Dedicated Linux Server products.
Description
Use this method to get details of the pricing for the Dedicated Server Linux plans for your Customers.
Response
Returns a map with the prices of the Dedicated Server Linux plans along with the prices of the other products.
The response structure for the Dedicated Server Linux product will be:
US Server "productkey": { "addons": { "addon1-name":price, "addon2-name":price }, "plans": { "planid": { "action": { "tenure-in-months":price }, } } }
Example:
"dedicatedserverlinuxus": { "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": { "105": { "renew": { "1":0.0 }, "add": { "1":0.0 } }, "106": { "renew": { "1":0.0 }, "add": { "1":0.0 } } } }