Returns list of all your subscription offers purchased by the customer.
NOTE: This method will list only subscriptions which didn't expire (e.g returns the subscriptions for which the customer has still access rights to the content). Parameter 'status' in response may take value 'active' or 'cancelled'. Value 'active' means subscription will renew after expiration time, value 'cancelled' means user resigned and it will not be prolonged after it expires. Subscriptions which were cancelled and expired won't be listed by this method.


Name Type Description
publisherToken string You can find your publisher token at api-keys page
customerEmail string Set customer email which you want to get subscription list from
offset integer Integer, from which subscription you want to get results
limit integer Integer, how many results you want to get

- required parameter

Response Parameters:

Name Type Description
items object Information about each subscription
-offerId string Subscription offer ID, e.g. S123123123_US
-status string Current status of subscription, 'active' means subscription will renew after expiration time and 'cancelled' means user resigned and it will not be prolonged after it expires
-expireAt integer End of subscription period
-paymentMethod string Payment method used to purchase subscription
totalItemCount integer Total amount of your subscription offers currently owned by user


        "method": "listCustomerSubscriptions",
        "params": {
            "publisherToken": "TeurE3xRXcFtF7gSbhYCXx_qC1IrvnDWGejDv114-OE0cdZ9",
            "customerEmail": "",
            "offset": "0",
            "limit": "10"
        "jsonrpc": "2.0",
        "id": 1


        "result": {
            "items": [
                    "offerId": "S123123123_US",
                    "status": "active",
                    "expiresAt": 1364146427,
                    "paymentMethod": "adyen"
                    "offerId": "S321321321_US",
                    "status": "cancelled",
                    "expiresAt": 1364146123,
                    "paymentMethod": "adyen"
            "totalItemCount": 2
        "id": "1",
        "error": null,
        "jsonrpc": "2.0"


    $customerEmail = '';

    $cleengApi = new Cleeng_Api();

    $cleengApi->listCustomerSubscriptions($customerEmail, 0, 10);

Remember! you can always check it by yourself using API Console - listCustomerSubscriptions()

Back to Customer API