Description
Validates upgrade/downgrade for a particular CodeGuard 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 CodeGuard Order for which upgrade/downgrade needs to be validated |
new-planid | Integer | Required | The new plan to which the Order is to be upgraded/downgraded. To fetch the plan details: plan-id etc., use this method. |
HTTP Method
GET
Example Test URL Request
https://test.httpapi.com/api/codeguard/validate-modify.json?auth-userid=0&api-key=key&order-id=0&new-planid=0
Response
Returns true (String) if upgrade/downgrade is validated successfully.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.