Subscriptions

This resource shows the queued subscriptions associated with the current customer

GET /subscriptions/queued

Lists all queued subscriptions associated with the current customer

Request

Name Type Description
scope string [Optional] Dynamically filters queued subscriptions to show only future or past queued subscriptions
Supported scopes: upcoming, past

Responses

Success: Get all queued subscriptions for customer with ID = 203

[
    {
        "created_at": "2013-01-31T02:44:30Z",
        "customer_id": 203,
        "id": 47,
        "plan": {
            "id": 3,
            "name": "Name of Plan",
            "class": "name-of-plan",
            "description": "<p>Plan description or else nil</p>",
            "online_benefits": "<p>Plan online benefits or else nil</p>",
            "annotations": "<p>Plan annotations or else nil</p>",
            "tags": []
        },
        "processed_at": null,
        "end_date": "2014-01-31T02:44:30Z",
        "subscription_id": null,
        "updated_at": "2013-01-31T02:44:30Z"
    },
    {
        "created_at": "2013-01-31T02:44:30Z",
        "customer_id": 203,
        "id": 48,
        "plan": {
            "id": 3,
            "name": "Name of Plan",
            "class": "name-of-plan",
            "description": "<p>Plan description or else nil</p>",
            "online_benefits": "<p>Plan online benefits or else nil</p>",
            "annotations": "<p>Plan annotations or else nil</p>",
            "tags": []
        },
        "processed_at": null,
        "end_date": "2015-01-31T02:44:30Z",
        "subscription_id": null,
        "updated_at": "2013-01-31T02:44:30Z"
    }
]

Failure: Customer has no queued subscriptions

[]