Seller Extend Expiry
End/Modify user data and sessions directly securely.
Extend the expiration date of an existing license key.
Expiry is extended from current expiry if valid, otherwise from current time.
Endpoint Details
GET
/api/seller_extend_expiry.php
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| sellerkey | Yes | Seller API Key |
| key | Yes | License key |
| days | Yes | Days to extend |
| note | No | Optional note |
| format | No | json (default) or text |
Success Response
{
"success": true,
"new_expiry": 1720000000,
"days_added": 30
}
Text Response
SUCCESS: New Expiry = 1720000000
Code Examples
fetch("http://localhost/commen/api/seller_extend_expiry.php?sellerkey=KEY&key=LICENSE&days=30")
.then(r => r.json())
.then(console.log);
<?php echo file_get_contents( "http://localhost/commen/api/seller_extend_expiry.php?sellerkey=KEY&key=LICENSE&days=30" ); ?>
import requests
r = requests.get("http://localhost/commen/api/seller_extend_expiry.php", params={
"sellerkey":"KEY",
"key":"LICENSE",
"days":30
})
print(r.text)
var client = new RestClient( "http://localhost/commen/api/seller_extend_expiry.php?sellerkey=KEY&key=LICENSE&days=30" ); var res = client.Execute(new RestRequest(Method.GET)); Console.WriteLine(res.Content);