Loading...

Knowledge Base

Validate a SiteLock Plan Upgrade Using the API

When you want to verify whether a SiteLock order can be upgraded to another plan using the API. This article explains required parameters, upgrade validation handling, and response details for SiteLock upgrade validation requests.

Validate Upgrade

 

Description

Validates upgrade for a particular SiteLock Order.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe Order ID of the SiteLock Order for which upgrade needs to be validated
new-planidIntegerRequiredThe new plan to which the Order is to be upgraded. 

HTTP Method

GET

Example Test URL Request

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

Response

Returns true (String) if upgrade is validated successfully.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.