Seller Reseller Get
End/Modify user data and sessions directly securely.
Retrieve a specific reseller by username.
Endpoint Details
GET
/api/seller_reseller_get.php
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| sellerkey | Yes | Seller API Key |
| username | Yes | Reseller Username |
Success Response
{
"success": true,
"reseller": {
"id": 1,
"username": "reseller1",
"created_at": "2024-01-01 12:00:00"
}
}
Failure Response
{
"success": false,
"msg": "Reseller not found"
}
Code Examples
fetch("http://localhost/commen/api/seller_reseller_get.php?sellerkey=KEY&username=RESELLER")
.then(r => r.json())
.then(console.log);
<?php echo file_get_contents( "http://localhost/commen/api/seller_reseller_get.php?sellerkey=KEY&username=RESELLER" ); ?>
import requests
r = requests.get("http://localhost/commen/api/seller_reseller_get.php", params={
"sellerkey":"KEY",
"username":"RESELLER"
})
print(r.text)
var client = new RestClient( "http://localhost/commen/api/seller_reseller_get.php?sellerkey=KEY&username=RESELLER" ); var res = client.Execute(new RestRequest(Method.GET)); Console.WriteLine(res.Content);