Get membership/subscription contract list
Retrieves a paginated list of membership/subscription contracts with advanced filtering capabilities. This endpoint provides comprehensive access to all subscription contracts in your store with flexible query options.
Full behavior, validation rules, and side effects
Key Information Returned:
- Contract Details: Contract ID, status, creation date, billing cycle
- Customer Information: Customer name, email, Shopify customer ID
- Subscription Items: Products, variants, quantities in subscription
- Billing Information: Next billing date, billing frequency, pricing
- Delivery Details: Shipping address, delivery method, next delivery date
- Plan Information: Membership plan type, selling plan IDs
- Status Tracking: Active, paused, cancelled, expired states
Filtering Capabilities:
- Date Ranges: Filter by creation date or next billing date
- Customer Search: Search by customer name or email
- Status Filter: Filter by contract status (active, paused, cancelled)
- Plan Type: Filter by membership plan type
- Billing Frequency: Filter by billing interval (weekly, monthly, etc.)
- Product/Variant: Find contracts containing specific products or variants
- Order Name: Search by Shopify order name/number
- Selling Plan: Filter by Shopify selling plan IDs
- Special Filters: Contracts with deleted products or bounced emails
Pagination:
- Supports standard pagination parameters (page, size, sort)
- Returns pagination headers for total count and navigation
- Default page size configurable via request parameters
Use Cases:
- Export subscription data to external CRM or analytics systems
- Build custom subscription dashboards and reports
- Sync membership data with external platforms
- Identify subscriptions needing attention (bounced emails, deleted products)
- Generate subscription activity reports by date range
- Find all subscriptions for a specific product or variant
- Monitor subscription health and churn metrics
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
Documentation Index
Fetch the complete documentation index at: https://developers.appstle.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Query Parameters
API Key (Deprecated - Use Header X-API-Key instead)
Filter contracts created on or after this date
Filter contracts created on or before this date
Filter contracts with next billing date on or after this date
Filter contracts with next billing date on or before this date
Filter by specific subscription/membership contract ID
Filter by customer name or email (partial match)
Filter by Shopify order name
Filter by subscription status
ACTIVE, PAUSED, CANCELLED, FAILED, EXPIRED Filter by billing frequency count (e.g., 1 for every 1 month)
Filter by billing frequency interval
DAY, WEEK, MONTH, YEAR Filter by plan type (PAY_AS_YOU_GO or PREPAID)
PAY_AS_YOU_GO, PREPAID Filter by record type (CONTRACT or SELLING_PLAN_GROUP)
Filter by Shopify product ID
Filter by Shopify product variant ID
Filter by selling plan IDs (comma-separated for multiple)
Include only contracts with products deleted from Shopify store
Include only contracts where email notifications bounced or failed
Pagination parameters (page number and size)
Response
Subscription contracts successfully retrieved with pagination headers
SENT, UNSENT, FAILED, EMAIL_SETTINGS_DISABLED, CUSTOMER_PAYMENT_EMPTY, CONTRACT_PAUSED_STATUS SENT, UNSENT, FAILED, SMS_SETTINGS_DISABLED, CUSTOMER_PAYMENT_EMPTY, CONTRACT_PAUSED_STATUS, PHONE_NUMBER_EMPTY