Change Reseller
Please log in to get a personalized configuration!
This method will change the reseller of a license. If the reseller is not specified (for example, if ResellerId=0) or the reseller with the provided ID does not exist, any reseller that was previously associated with the license will be dissociated.
This method is accessed by https://api.cryptolens.io/api/key/ChangeReseller
Parameters
| Parameter | Description | Remarks |
| ProductId | the product id | required |
| Key | the serial key string | required |
| ResellerId | The id of the reseller that will be associated with the license. If it is 0 or not found, any reseller that was previously associated will be removed. | optional, 0 by default. |
| v | Method version. | optional. by default, it's 1. |
Results
| Parameter | Description | Remarks |
| Result | This is either 0(=success) or 1(=error). | always returned |
| Message | The message that provides additional information about the result. | always returned. |
Example results
{"result":0,"message":""}
Errors
| Error |
| Access denied. |
| The input parameters were incorrect. |
| Could not find the product. |
| Could not find the key. |
| The reseller was not found or the id was set to zero. The license will no longer have any reseller associated with it. |
Made in Sweden