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.
Key Information Returned:
Filtering Capabilities:
Pagination:
Use Cases:
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
curl --request GET \
--url https://membership-admin.appstle.com/api/external/v2/subscription-contract-details{
"shop": "<string>",
"id": 123,
"graphSubscriptionContractId": "<string>",
"subscriptionContractId": 123,
"billingPolicyInterval": "<string>",
"billingPolicyIntervalCount": 123,
"currencyCode": "<string>",
"customerId": 123,
"graphCustomerId": "<string>",
"deliveryPolicyInterval": "<string>",
"deliveryPolicyIntervalCount": 123,
"status": "<string>",
"graphOrderId": "<string>",
"orderId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"nextBillingDate": "2023-11-07T05:31:56Z",
"orderAmount": 123,
"orderName": "<string>",
"customerName": "<string>",
"customerEmail": "<string>",
"subscriptionCreatedEmailSent": true,
"endsAt": "2023-11-07T05:31:56Z",
"startsAt": "2023-11-07T05:31:56Z",
"minCycles": 123,
"maxCycles": 123,
"customerFirstName": "<string>",
"customerLastName": "<string>",
"autoCharge": true,
"importedId": "<string>",
"stopUpComingOrderEmail": true,
"pausedFromActive": true,
"phone": "<string>",
"activatedOn": "2023-11-07T05:31:56Z",
"pausedOn": "2023-11-07T05:31:56Z",
"cancelledOn": "2023-11-07T05:31:56Z",
"contractDetailsJSON": "<string>",
"cancellationFeedback": "<string>",
"orderNote": "<string>",
"orderNoteAttributes": "<string>",
"allowDeliveryPriceOverride": true,
"orderAmountUSD": 123,
"billingDateAfterTrial": "2023-11-07T05:31:56Z",
"trialEndDate": "2023-11-07T05:31:56Z",
"pausedBySecurityChallenge": true,
"dunning": true,
"contractAmount": 123,
"contractAmountUSD": 123,
"upcomingSwapRule": "<string>",
"emailBouncedOrFailed": true
}Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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)
Show child attributes
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 curl --request GET \
--url https://membership-admin.appstle.com/api/external/v2/subscription-contract-details{
"shop": "<string>",
"id": 123,
"graphSubscriptionContractId": "<string>",
"subscriptionContractId": 123,
"billingPolicyInterval": "<string>",
"billingPolicyIntervalCount": 123,
"currencyCode": "<string>",
"customerId": 123,
"graphCustomerId": "<string>",
"deliveryPolicyInterval": "<string>",
"deliveryPolicyIntervalCount": 123,
"status": "<string>",
"graphOrderId": "<string>",
"orderId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"nextBillingDate": "2023-11-07T05:31:56Z",
"orderAmount": 123,
"orderName": "<string>",
"customerName": "<string>",
"customerEmail": "<string>",
"subscriptionCreatedEmailSent": true,
"endsAt": "2023-11-07T05:31:56Z",
"startsAt": "2023-11-07T05:31:56Z",
"minCycles": 123,
"maxCycles": 123,
"customerFirstName": "<string>",
"customerLastName": "<string>",
"autoCharge": true,
"importedId": "<string>",
"stopUpComingOrderEmail": true,
"pausedFromActive": true,
"phone": "<string>",
"activatedOn": "2023-11-07T05:31:56Z",
"pausedOn": "2023-11-07T05:31:56Z",
"cancelledOn": "2023-11-07T05:31:56Z",
"contractDetailsJSON": "<string>",
"cancellationFeedback": "<string>",
"orderNote": "<string>",
"orderNoteAttributes": "<string>",
"allowDeliveryPriceOverride": true,
"orderAmountUSD": 123,
"billingDateAfterTrial": "2023-11-07T05:31:56Z",
"trialEndDate": "2023-11-07T05:31:56Z",
"pausedBySecurityChallenge": true,
"dunning": true,
"contractAmount": 123,
"contractAmountUSD": 123,
"upcomingSwapRule": "<string>",
"emailBouncedOrFailed": true
}