Getting the Reseller Pricing

Description

Gets the Reseller Slab Pricing.

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 Slab Pricing has to be retrieved. By default, Pricing of the current user will be retrieved.

HTTP Method

GET

Example Test URL Request

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

Response

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

Domain Names (TLDs) "productkey": { "slab-order": { "pricing": { "action-name": { "tenure-in-years":"price" } } "category": { "slab-category": { "name":"category-name", "quantity":"category-quantity" } } } }

Example:

"domcno": { "0": { "pricing": { "addtransferdomain": { "1":"0.0" }, "restoredomain": { "1":"0.0" }, "addnewdomain": { "1":"0.0" }, "renewdomain": { "1":"0.0" } }, "category": { "category2": { "name":"receipts", "quantity":"0.0" }, "category1": { "name":"hosting", "quantity":"0.0" } } } }

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 } } } } Multi Domain Linux Hosting "productkey": { "planid": { "action": { "tenure-in-months":price }, "ssl":price } }

Example:

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 } } } Multi Domain Windows Hosting "productkey": { "planid": { "action": { "tenure-in-months":price }, "ssl":price } }

Example:

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 } } }