cURL
curl --request GET \ --url https://pandabase.io/api/products/{productId}/licenses \ --header 'Authorization: Bearer <token>' \ --header 'X-Storefront-Id: <x-storefront-id>'
{ "ok": true, "data": { "licenses": [ { "id": "lic_abc123", "key": "XXXX-XXXX-XXXX-XXXX", "product_id": "prod_xyz789", "status": "active", "customer_id": "cust_123456", "metadata": {}, "expires_at": "2025-12-31T23:59:59Z", "activated_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" } ], "meta": { "page": 1, "page_size": 10, "total": 25 } } }
Retrieve a list of licenses for a product. Only available if you use managed licenses.
V3 API key authentication. Format: sk_v3_xxxxx
sk_v3_xxxxx
Your storefront/shop ID
Product ID
Filter licenses by status
active
suspended
expired
revoked
Licenses retrieved successfully
true
Show child attributes