Seller Get Subscriptions
End/Modify user data and sessions directly securely.
Retrieve all subscriptions for your application.
Endpoint Details
GET
/api/seller_get_subscriptions.php
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| sellerkey | Yes | Seller API Key |
| format | No | Response format (json or text) |
Success Response
{
"success": true,
"subscriptions": [
{
"id": 1,
"name": "Default",
"level": 1,
"status": "active",
"created_at": "2024-01-01 12:00:00"
}
]
}
Code Examples
fetch("http://localhost/commen/api/seller_get_subscriptions.php?sellerkey=KEY&format=json")
.then(r => r.json())
.then(console.log);
<?php echo file_get_contents( "http://localhost/commen/api/seller_get_subscriptions.php?sellerkey=KEY&format=json" ); ?>
import requests
r = requests.get("http://localhost/commen/api/seller_get_subscriptions.php", params={
"sellerkey":"KEY",
"format":"json"
})
print(r.text)
var client = new RestClient( "http://localhost/commen/api/seller_get_subscriptions.php?sellerkey=KEY&format=json" ); var res = client.Execute(new RestRequest(Method.GET)); Console.WriteLine(res.Content);