Get Reseller Customers
This method will return a list of customers that belong to a certain reseller.
This method is accessed by https://api.cryptolens.io/api/reseller/GetResellerCustomers
Parameters
Parameter |
Description |
Remarks |
ResellerId |
The id of the reseller whose customers you want to access.
|
required |
v |
Method version. |
optional. by default, it's 1. |
Results
Parameter |
Description |
Remarks |
Customers |
The list of customer objects. |
always returned |
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
{"customers":[{"id":38,"name":"Test","email":"test@example.com","companyName":"SKM","created":"2016-02-19T20:42:57.283"},{"id":13910,"name":"artem","email":"test@example.com","companyName":"Cryptolens AB","created":"2020-08-18T13:04:58.85"}],"result":0,"message":null}
Errors
Error |
Access denied. |
The input parameters were incorrect. |
Reseller could not be found. |