Retrieves a flattened list of all selling plans from all subscription groups in the store. This endpoint provides a consolidated view of every subscription plan available, regardless of which group it belongs to.
Response includes:
Use Cases:
Differences from /subscription-groups endpoint:
Authentication: Requires valid X-API-Key header
curl --request GET \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-groups/all-selling-plans \
--header 'X-API-Key: <x-api-key>'[
{
"id": "gid://shopify/SellingPlan/111111",
"frequencyName": "Delivered Monthly",
"frequencyDescription": "Save 10% on monthly deliveries",
"frequencyCount": 1,
"frequencyInterval": "MONTH",
"billingFrequencyCount": 1,
"billingFrequencyInterval": "MONTH",
"planType": "PAY_AS_YOU_GO",
"discountEnabled": true,
"discountType": "PERCENTAGE",
"discountOffer": 10,
"afterCycle1": 0,
"minCycles": 3,
"maxCycles": null,
"groupId": 123456789,
"groupName": "Monthly Coffee Subscription",
"inventoryPolicyReserve": "ON_SALE",
"memberOnly": false,
"frequencyType": "ON_PURCHASE_DAY",
"upcomingOrderEmailBuffer": 3
},
{
"id": "gid://shopify/SellingPlan/222222",
"frequencyName": "Weekly Tea Box",
"frequencyDescription": "Fresh tea every week with 15% savings",
"frequencyCount": 1,
"frequencyInterval": "WEEK",
"billingFrequencyCount": 1,
"billingFrequencyInterval": "WEEK",
"planType": "PAY_AS_YOU_GO",
"discountEnabled": true,
"discountType": "PERCENTAGE",
"discountOffer": 15,
"afterCycle1": 0,
"groupId": 123456790,
"groupName": "Premium Tea Collection"
},
{
"id": "gid://shopify/SellingPlan/333333",
"frequencyName": "3-Month Prepaid Coffee",
"frequencyDescription": "Pay upfront for 3 months and save 25%",
"frequencyCount": 1,
"frequencyInterval": "MONTH",
"billingFrequencyCount": 3,
"billingFrequencyInterval": "MONTH",
"planType": "PAY_AS_YOU_GO_PREPAID",
"payAsYouGoPrepaidBillingFrequencyCount": 3,
"discountEnabled": true,
"discountType": "PERCENTAGE",
"discountOffer": 25,
"afterCycle1": 0,
"maxCycles": 12,
"groupId": 123456789,
"groupName": "Monthly Coffee Subscription",
"repeatingCycle": true,
"repeatingNumberOfCycle": 12
}
]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 for authentication
API Key (Deprecated - Use X-API-Key header instead)
Successfully retrieved all selling plans
DAY, WEEK, MONTH, YEAR DAY, WEEK, MONTH, YEAR PERCENTAGE, FIXED, PRICE PERCENTAGE, FIXED, PRICE ON_PURCHASE_DAY, ON_SPECIFIC_DAY PAY_AS_YOU_GO, PREPAID, ADVANCED_PREPAID, PAY_AS_YOU_GO_PREPAID ASAP, NEXT, $UNKNOWN DAY, WEEK, MONTH, YEAR Show child attributes
ON_FULFILLMENT, ON_SALE, $UNKNOWN Show child attributes
curl --request GET \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-groups/all-selling-plans \
--header 'X-API-Key: <x-api-key>'[
{
"id": "gid://shopify/SellingPlan/111111",
"frequencyName": "Delivered Monthly",
"frequencyDescription": "Save 10% on monthly deliveries",
"frequencyCount": 1,
"frequencyInterval": "MONTH",
"billingFrequencyCount": 1,
"billingFrequencyInterval": "MONTH",
"planType": "PAY_AS_YOU_GO",
"discountEnabled": true,
"discountType": "PERCENTAGE",
"discountOffer": 10,
"afterCycle1": 0,
"minCycles": 3,
"maxCycles": null,
"groupId": 123456789,
"groupName": "Monthly Coffee Subscription",
"inventoryPolicyReserve": "ON_SALE",
"memberOnly": false,
"frequencyType": "ON_PURCHASE_DAY",
"upcomingOrderEmailBuffer": 3
},
{
"id": "gid://shopify/SellingPlan/222222",
"frequencyName": "Weekly Tea Box",
"frequencyDescription": "Fresh tea every week with 15% savings",
"frequencyCount": 1,
"frequencyInterval": "WEEK",
"billingFrequencyCount": 1,
"billingFrequencyInterval": "WEEK",
"planType": "PAY_AS_YOU_GO",
"discountEnabled": true,
"discountType": "PERCENTAGE",
"discountOffer": 15,
"afterCycle1": 0,
"groupId": 123456790,
"groupName": "Premium Tea Collection"
},
{
"id": "gid://shopify/SellingPlan/333333",
"frequencyName": "3-Month Prepaid Coffee",
"frequencyDescription": "Pay upfront for 3 months and save 25%",
"frequencyCount": 1,
"frequencyInterval": "MONTH",
"billingFrequencyCount": 3,
"billingFrequencyInterval": "MONTH",
"planType": "PAY_AS_YOU_GO_PREPAID",
"payAsYouGoPrepaidBillingFrequencyCount": 3,
"discountEnabled": true,
"discountType": "PERCENTAGE",
"discountOffer": 25,
"afterCycle1": 0,
"maxCycles": 12,
"groupId": 123456789,
"groupName": "Monthly Coffee Subscription",
"repeatingCycle": true,
"repeatingNumberOfCycle": 12
}
]