Description
Validates upgrade 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 upgrade needs to be validated |
new-planid | 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/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.