List subscriptions
cratejoy_list_subscriptionsList subscriptions (id, status, autorenew, billing_name, start_date, end_date, skipped_date, is_test, product_billing_id). Filter by status and end-date range, or with filters (e.g. { 'customer.email__like': '%@example.com' }). Relationships: customer, billing, term, product, address, orders, shipments, logs. GET /v1/subscriptions/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, counting from 0 (default 0). Pass the previous reply's next_page. | |
| with | No | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. | |
| limit | No | Results per page, 1-100 (default 25). | |
| status | No | Subscription status (unpaid, suspended and others are deprecated by Cratejoy). | |
| filters | No | Extra Cratejoy filters as { '[relation.]property[__comparison]': value }. Comparisons: eq (default), ne, lt, le, gt, ge, like, ilike (% is the wildcard), in, nin (comma-separated), is_null. Status columns take integers. Example: { 'customer.email__like': '%@example.com' }. | |
| ends_after | No | Only subscriptions whose end_date is on or after this date/date-time. | |
| ends_before | No | Only subscriptions whose end_date is on or before this date/date-time. |