Getting Modify/Upgrade Price
Loading...
When you want to retrieve the applicable upgrade or downgrade pricing for a Multi Domain Linux Hosting order. This article explains the required parameters and API request format for fetching modified plan pricing, remaining tenure value, and upgrade cost details.
Gets the applicable modify/upgrade price for a particular Multi Domain Linux Hosting Order.
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Your Live Account Reseller Id |
| api-key | String | Required | An alphanumeric code that can be used to authenticate your API calls |
| 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. |
| months | Integer | Required | The number of months (tenure) in the new plan for which the Order to be placed. |
GET
US, Texas Server https://test.httpapi.com/api/multidomainhosting/linux/us/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0
India Server https://test.httpapi.com/api/multidomainhosting/linux/in/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0
Returns the applicable modify/upgrade price for a particular Multi 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