Validate Upgrade
Loading...
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.
Validates upgrade for a particular SiteLock Order.
| 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 upgrade needs to be validated |
| new-planid | Integer | Required | The new plan to which the Order is to be upgraded. |
GET
https://test.httpapi.com/api/sitelock/validate-modify.json?auth-userid=0&api-key=key&order-id=0&new-planid=0
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.