VAIOWEB Domain Names Registration, Linux Web Hosting, Email Hosting, Reseller Hosting, VPS Hosting, Thawte Digital SSL Certificates, WebSite Builder, WebSite Templates

Get Upgrade Price

Description

Gets the applicable upgrade price for a particular SiteLock 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 Order ID of the SiteLock Order for which the details are to be fetched
new-plan-id Integer Required The new plan to which the Order is to be upgraded. To fetch the plan details: plan-id etc., use this method.

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/sitelock/modify-pricing.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0

Response

Returns the applicable upgrade price for a particular SiteLock 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