Description
Gets the generic Customer Pricing or a particular Customer's Cost Price if the Customer ID is provided.
Note
It is recommended you cache all pricing information to ensure you do not have to send API queries to the platform. As there are a huge number of products, the accompanying data may cause longer wait time than usual.
Parameters
HTTP Method
GET
Example Test URL Request
https://test.httpapi.com/api/products/customer-price.json?auth-userid=0&api-key=key
Response
Returns a hash map with the generic Customer Pricing or the specified Customer's Cost Price. The response structure will be:
<#start domorder#>Domain Names (TLDs) "productkey": { "action-name": { "tenure-in-years":"price" } }
Example:
"dotnet": { "addtransferdomain": { "1":"0.0" }, "restoredomain": { "1":"0.0" }, "addnewdomain": { "1":"0.0" }, "renewdomain": { "1":"0.0" } }
<#end domorder#><#start hosting#> Web Services "hosting": { "planid": { "action": { "tenure-in-months":price }, "ssl":0.0 } }
Example:
"hosting": { "0": { "renew": { "12":0.0, "24":0.0 }, "ssl":0.0, "add": { "12":0.0, "24":0.0 } }, "1": { "renew": { "12":0.0, "24":0.0 }, "add": { "12":0.0, "24":0.0 } } } <#end hosting#><#start sdhlinux#> Single Domain Linux Hosting "productkey": { "planid": { "action": { "tenure-in-months":price }, "ssl":price } }
Example:
<#start singledomainhostinglinuxus#>US Server "singledomainhostinglinuxus": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostinglinuxus#><#start singledomainhostinglinuxuk#> UK Server "singledomainhostinglinuxuk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostinglinuxuk#><#start singledomainhostinglinuxin#> India Server "singledomainhostinglinuxin": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostinglinuxin#><#start singledomainhostinglinuxhk#> Hong Kong Server "singledomainhostinglinuxhk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostinglinuxhk#><#start singledomainhostinglinuxtr#> Turkey Server "singledomainhostinglinuxtr": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostinglinuxtr#><#end sdhlinux#><#start sdhwindows#> Single Domain Windows Hosting "productkey": { "planid": { "action": { "tenure-in-months":price }, "ssl":price } }
Example:
<#start singledomainhostingwindowsus#>US Server "singledomainhostingwindowsus": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostingwindowsus#><#start singledomainhostingwindowsuk#> UK Server "singledomainhostingwindowsuk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostingwindowsuk#><#start singledomainhostingwindowsin#> India Server "singledomainhostingwindowsin": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostingwindowsin#><#start singledomainhostingwindowshk#> Hong Kong Server "singledomainhostingwindowshk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostingwindowshk#><#start singledomainhostingwindowstr#> Turkey Server "singledomainhostingwindowstr": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end singledomainhostingwindowstr#><#end sdhwindows#><#start mdhlinux#> Multi Domain Linux Hosting "productkey": { "planid": { "action": { "tenure-in-months":price }, "ssl":price } }
Example:
<#start multidomainhosting#>US Server "multidomainhosting": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainhosting#><#start multidomainhostinglinuxuk#> UK Server "multidomainhostinglinuxuk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainhostinglinuxuk#><#start multidomainhostinglinuxin#> India Server "multidomainhostinglinuxin": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainhostinglinuxin#><#start multidomainhostinglinuxhk#> Hong Kong Server "multidomainhostinglinuxhk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainhostinglinuxhk#><#start multidomainhostinglinuxtr#> Turkey Server "multidomainhostinglinuxtr": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainhostinglinuxtr#><#end mdhlinux#><#start mdhwindows#> Multi Domain Windows Hosting "productkey": { "planid": { "action": { "tenure-in-months":price }, "ssl":price } }
Example:
<#start multidomainwindowshosting#>US Server "multidomainwindowshosting": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainwindowshosting#><#start multidomainwindowshostinguk#> UK Server "multidomainwindowshostinguk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainwindowshostinguk#><#start multidomainwindowshostingin#> India Server "multidomainwindowshostingin": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainwindowshostingin#><#start multidomainwindowshostinghk#> Hong Kong Server "multidomainwindowshostinghk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainwindowshostinghk#><#start multidomainwindowshostingtr#> Turkey Server "multidomainwindowshostingtr": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end multidomainwindowshostingtr#><#end mdhwindows#><#start rhlinux#> Reseller Linux Hosting "productkey": { "planid": { "action": { "tenure-in-months":price }, "ssl":price } }
Example:
<#start resellerhosting#>US Server "resellerhosting": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end resellerhosting#><#start resellerhostinglinuxuk#> UK Server "resellerhostinglinuxuk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end resellerhostinglinuxuk#><#start resellerhostinglinuxin#> India Server "resellerhostinglinuxin": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end resellerhostinglinuxin#><#start resellerhostinglinuxtr#> Turkey Server "resellerhostinglinuxtr": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end resellerhostinglinuxtr#><#end rhlinux#><#start rhwindows#> Reseller Windows Hosting "productkey": { "planid": { "action": { "tenure-in-months":price }, "ssl":price } }
Example:
<#start resellerwindowshosting#>US Server "resellerwindowshosting": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end resellerwindowshosting#><#start resellerwindowshostinguk#> UK Server "resellerwindowshostinguk": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end resellerwindowshostinguk#><#start resellerwindowshostingin#> India Server "resellerwindowshostingin": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end resellerwindowshostingin#><#start resellerwindowshostingtr#> Turkey Server "resellerwindowshostingtr": { "1": { "renew": { "3":0.0, "12":0.0 }, "ssl":0.0, "add": { "3":0.0, "12":0.0 } }, "2": { "renew": { "3":0.0, "12":0.0 }, "add": { "3":0.0, "12":0.0 } } } <#end resellerwindowshostingtr#><#end rhwindows#><#start vpslinuxus#> VPS Linux "productkey": { "addons": { "addon1-name":price, "addon2-name":price }, "plans": { "planid": { "action": { "tenure-in-months":price }, } } }
Example:
"vpslinuxus": { "addons": { "ssl":0.0, "cpanel":0.0, "whmcs":0.0 }, "plans": { "1": { "renew": { "1":0.0 }, "add": { "1":0.0 } }, "2": { "renew": { "1":0.0 }, "add": { "1":0.0 } } } } <#end vpslinuxus#><#start dedicatedserverlinuxus#> Dedicated Server Linux "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 } } } } <#end dedicatedserverlinuxus#><#start enterpriseemail#> Enterprise Email "productkey": { "email_account_ranges": { "plan_specifications": { "action": { "tenure-in-months":price } } } }
Example:
<#start enterpriseemailus#>US Server "enterpriseemailus": { "email_account_ranges": { "1-5": { "renew": { "3":100.0, "12":100.0 }, "add": { "3":100.0, "12":100.0 } }, "6-25": { "renew": { "3":100.0, "12":100.0 }, "add": { "3":100.0 "12":100.0 } }, "26-49": { "renew": { "3":100.0 "12":100.0 }, "add": { "3":100.0 "12":100.0 } }, "50-200000": { "renew": { "3":100.0 "12":100.0 }, "add": { "3":100.0 "12":100.0 } } } } <#end enterpriseemailus#><#start enterpriseemailusin#> India Server "enterpriseemailin": { "email_account_ranges": { "1-5": { "renew": { "3":100.0 "12":100.0 }, "add": { "3":100.0 "12":100.0 } }, "6-25": { "renew": { "3":100.0 "12":100.0 }, "add": { "3":100.0 "12":100.0 } }, "26-49": { "renew": { "3":100.0 "12":100.0 }, "add": { "3":100.0 "12":100.0 } }, "50-200000": { "renew": { "3":100.0 "12":100.0 }, "add": { "3":100.0 "12":100.0 } } } } <#end enterpriseemailusin#><#end enterpriseemail#><#start digicert#> Digital Certificates "productkey": { "slab-order": { "pricing": { "certtype": { "action": { "tenure-in-years":"price" } } } "category": { "slab-category": { "name":"category-name", "quantity":"category-quantity" } } } }
Example:
"thawtecert": { "0": { "pricing": { "ssl": { "renew": { "2":"200.0", "1":"100.0" }, "add": { "2":"200.0", "1":"100.0" }, "additionallicense": { "2":"100.0", "1":"100.0" } } "fssl": { "renew": { "2":"200.0", "1":"100.0" }, "add": { "2":"200.0", "1":"100.0" }, "additionallicense": { "2":"100.0", "1":"100.0" } } "wild": { "renew": { "2":"200.0", "1":"100.0" }, "add": { "2":"200.0", "1":"100.0" }, "additionallicense": { "2":"100.0", "1":"100.0" } } "sgc": { "renew": { "2":"200.0", "1":"100.0" }, "add": { "2":"200.0", "1":"100.0" }, "additionallicense": { "2":"100.0", "1":"100.0" } } } "category": { "category2": { "name":"receipts", "quantity":"0.0" }, "category1": { "name":"hosting", "quantity":"0.0" } } } } <#end digicert#>