Get Resellers
This method will return the list of resellers, with the newest resellers shown first.
This method is accessed by https://api.cryptolens.io/api/reseller/GetResellers
Parameters
Parameter |
Description |
Remarks |
Search |
If either the Name, Phone, Email or Description contain the search string, it will be returned.
|
optional |
ResellerId |
If this value is set, the method will return only one reseller with whose Id is equal to the value of this parameter.
If no such reseller exists, no resellers will be returned. Please make sure that the parameter Search
is not set when retrieving a reseller based on Id.
|
optional, 0 by default. |
Limit |
Specifies how many customers will be returned. If not set, all customers will be returned. |
optional. disabled by default. |
v |
Method version. |
optional. by default, it's 1. |
Results
Parameter |
Description |
Remarks |
Resellers |
A list of Reseller 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
{"resellers":[{"id":7,"inviteId":0,"resellerUserId":0,"created":"2020-10-07T00:00:00","name":"Test Reseller","url":null,"email":null,"phone":null,"description":"Test Reseller","metadata":{"key":"value"}}],"result":0,"message":null}
Errors