Getting Reseller Cost Pricing

Description

Gets the Reseller's Cost Price.

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

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
reseller-id Integer Optional Reseller ID of the Reseller whose Cost Price has to be retrieved. By default, Cost Price of the current user will be retrieved.

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/products/reseller-cost-price.json?auth-userid=0&api-key=key

Response

Returns a hash map with the Cost Price for the specified Reseller or the Reseller whose authorization details are used. The response structure will be:

<#start domorder#>Domain Names (TLDs)

"productkey":
{
"action-name":
{
"tenure-in-years":"price"
}
}

Example:


domcno":
{
"addtransferdomain":
{
"1":"0.0"
},
"restoredomain":
{
"1":"0.0"
},
"addnewdomain":
{
"1":"0.0"
},
"renewdomain":
{
"1":"0.0"
}
}
<#end domorder#><#start hosting#>

Web Services


"hosting":
{
"productkey":
{
"bandid":
{
"pricing":
{
"action":0.0,
"ssl":0.0
}
"description":
{
"parameter":value
}
}
}
}

Example:


"hosting":
{
"email_plan":
{
"1":
{
"pricing":
{
"renew":0.0,
"add":0.0
},
"description":
{
"no_of_mail_accounts":5,
"default":false
}
}
},
"websitebuilder_plan":
{
"1":
{
"pricing":
{
"renew":0.0,
"add":0.0
},
"description":
{
"no_of_mail_accounts":1,
"default":true,
"webspace":100,
"noofpages":10
}
}
}
}
<#end hosting#><#start sdhlinux#>

Single Domain Linux Hosting


"productkey":
{
"productkey":
{
"bandid":
{
"pricing":
{
"action":0.0,
"ssl":0.0
}
"description":
{
"parameter":value
}
}
}
}

Example:

<#start singledomainhostinglinuxus#>US Server


"singledomainhostinglinuxus":
{
"singledomainhostinglinuxus":
{
"1":
{
"pricing":
{
"renew":0.0,
"ssl":0.0,
"add":0.0
}
"description":
{
"no_of_mail_accounts":-1,
"default":true,
"bandwidth":-1,
"webspace":-1
}
}
}
}
<#end singledomainhostinglinuxus#><#start singledomainhostinglinuxuk#>

UK Server


"singledomainhostinglinuxuk":
{
"singledomainhostinglinuxuk":
{
"1":
{
"pricing":
{
"renew":0.0,
"ssl":0.0,
"add":0.0
}
"description":
{
"no_of_mail_accounts":-1,
"default":true,
"bandwidth":-1,
"webspace":-1
}
}
}
}
<#end singledomainhostinglinuxuk#><#start singledomainhostinglinuxin#>

India Server


"singledomainhostinglinuxin":
{
"singledomainhostinglinuxin":
{
"1":
{
"pricing":
{
"renew":0.0,
"ssl":0.0,
"add":0.0
}
"description":
{
"no_of_mail_accounts":-1,
"default":true,
"bandwidth":-1,
"webspace":-1
}
}
}
}
<#end singledomainhostinglinuxin#><#end sdhlinux#><#start sdhwindows#>

Single Domain Windows Hosting


"productkey":
{
"productkey":
{
"bandid":
{
"pricing":
{
"action":0.0,
"ssl":0.0
}
"description":
{
"parameter":value
}
}
}
}

Example:

<#start singledomainhostingwindowsus#>US Server


"singledomainhostingwindowsus":
{
"singledomainhostingwindowsus":
{
"1":
{
"pricing":
{
"renew":0.0,
"ssl":0.0,
"add":0.0
}
"description":
{
"no_of_mail_accounts":-1,
"default":true,
"bandwidth":-1,
"webspace":-1
}
}
}
}
<#end singledomainhostingwindowsus#><#start singledomainhostingwindowsuk#>

UK Server


"singledomainhostingwindowsuk":
{
"singledomainhostingwindowsuk":
{
"1":
{
"pricing":
{
"renew":0.0,
"ssl":0.0,
"add":0.0
}
"description":
{
"no_of_mail_accounts":-1,
"default":true,
"bandwidth":-1,
"webspace":-1
}
}
}
}
<#end singledomainhostingwindowsuk#><#start singledomainhostingwindowsin#>

India Server


"singledomainhostingwindowsin":
{
"singledomainhostingwindowsin":
{
"1":
{
"pricing":
{
"renew":0.0,
"ssl":0.0,
"add":0.0
}
"description":
{
"no_of_mail_accounts":-1,
"default":true,
"bandwidth":-1,
"webspace":-1
}
}
}
}
<#end singledomainhostingwindowsin#><#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#><#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#><#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#><#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#><#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":00.0
}
},
"2":
{
"renew":
{
"1":0.0
},
"add":
{
"1":0.0
}
}
}
}
<#end vpslinuxus#><#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":
{
"certtype":
{
"action":
{
"tenure-in-years":"price"
}
}
}

Example:


"thawtecert":
{
"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"
}
}
}
<#end digicert#>