List subscriptions
smartrr_list_subscriptionsList customer subscriptions (Smartrr 'purchase states') with status, next billing date, selling plan, line items, shipping address, discounts and the customer (id, email, name). Filter by status, next billing date or creation date. The ids you need for the other tools: id (subscription id), custRel.id (customer id) and shopifyId (Shopify subscription id). GET /vendor/purchase-state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1 (default 1). Pass the previous reply's next_page. | |
| sort | No | Sort by creation date (default: Smartrr's own order). | |
| status | No | Only subscriptions in this status. | |
| page_size | No | Results per page, 1-100 (default 25). | |
| created_after | No | Only subscriptions created on or after this date. | |
| created_before | No | Only subscriptions created on or before this date. | |
| next_billing_after | No | Only subscriptions whose next billing date is on or after this date. | |
| next_billing_before | No | Only subscriptions whose next billing date is on or before this date. |