Get Modify/Upgrade Price

Description

Gets the applicable modify/upgrade price for a particular Single Domain Linux Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId for which the details are to be fetched.
new-plan-id Integer Required The new plan to which the Order is to be upgraded/downgraded. To fetch the plan details: plan-id etc., use this method.
months Integer Required The number of months (tenure) in the new plan for which the Order to be placed.

HTTP Method

GET

Example Test URL Request

<#start singledomainhostinglinuxus#>US, Texas Server https://test.httpapi.com/api/singledomainhosting/linux/us/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0 <#end singledomainhostinglinuxus#><#start singledomainhostinglinuxusca#>
US, California Server https://test.httpapi.com/api/singledomainhosting/linux/us/ca/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0 <#end singledomainhostinglinuxusca#><#start singledomainhostinglinuxuk#>
UK Server https://test.httpapi.com/api/singledomainhosting/linux/uk/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0 <#end singledomainhostinglinuxuk#><#start singledomainhostinglinuxin#>
India Server https://test.httpapi.com/api/singledomainhosting/linux/in/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0 <#end singledomainhostinglinuxin#><#start singledomainhostinglinuxhk#>
Hong Kong Server https://test.httpapi.com/api/singledomainhosting/linux/hk/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0 <#end singledomainhostinglinuxhk#><#start singledomainhostinglinuxtr#>
Turkey Server https://test.httpapi.com/api/singledomainhosting/linux/tr/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0 <#end singledomainhostinglinuxtr#>

Response

Returns the applicable modify/upgrade price for a particular Single Domain Hosting Order.

Example:

{ "upgradecost":0.0, "modifiedOrderPrice":0.0, "endtime":"0000000000", "remainingmonths":0, "currentOrderPrice":0.0 }

where

  • currentOrderPrice: The current pricing of the Order for remaining months.

  • modifiedOrderPrice: New applicable pricing of the Order as per the new plan.

  • upgradecost: Actual price applicable i.e. modifiedOrderPrice - currentOrderPrice