# Get all selling plans across all subscription groups 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: - All selling plans with their configurations - Group information for each plan (groupId and groupName) - Complete discount and pricing details - Delivery and billing frequencies - Member restrictions and settings - Free trial configurations Use Cases: - Build a unified subscription selector - Compare all available subscription options - Analyze pricing across all plans - Find specific plan configurations - Generate reports on subscription offerings Differences from /subscription-groups endpoint: - Returns plans as a flat list, not grouped - Each plan includes its parent group information - Easier to search/filter across all plans - Does not include product/variant assignments Authentication: Requires valid X-API-Key header Endpoint: GET /api/external/v2/subscription-groups/all-selling-plans Version: 0.0.1 ## Header parameters: - `X-API-Key` (string, required) API Key for authentication Example: "sk_live_1234567890abcdef" ## Query parameters: - `api_key` (string) API Key (Deprecated - Use X-API-Key header instead) ## Response 200 fields (application/json): - `frequencyCount` (integer) - `frequencyInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `billingFrequencyCount` (integer) - `payAsYouGoPrepaidBillingFrequencyCount` (integer) - `billingFrequencyInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `frequencyName` (string) - `frequencyDescription` (string) - `discountOffer` (number) - `discountOffer2` (number) - `afterCycle1` (integer) - `afterCycle2` (integer) - `discountType` (string) Enum: "PERCENTAGE", "FIXED", "PRICE" - `discountType2` (string) Enum: "PERCENTAGE", "FIXED", "PRICE" - `discountEnabled` (boolean) - `discountEnabled2` (boolean) - `discountEnabledMasked` (boolean) - `discountEnabled2Masked` (boolean) - `id` (string) - `frequencyType` (string) Enum: "ON_PURCHASE_DAY", "ON_SPECIFIC_DAY" - `specificDayValue` (integer) - `specificMonthValue` (integer) - `specificDayEnabled` (boolean) - `maxCycles` (integer) - `minCycles` (integer) - `cutOff` (integer) - `prepaidFlag` (string) - `idNew` (string) - `planType` (string) Enum: "PAY_AS_YOU_GO", "PREPAID", "ADVANCED_PREPAID", "PAY_AS_YOU_GO_PREPAID" - `deliveryPolicyPreAnchorBehavior` (string) Enum: "ASAP", "NEXT", "$UNKNOWN" - `freeTrialEnabled` (boolean) - `freeTrialCount` (integer) - `freeTrialInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `memberOnly` (boolean) - `nonMemberOnly` (boolean) - `memberInclusiveTags` (string) - `memberExclusiveTags` (string) - `formFieldJson` (string) - `upcomingOrderEmailBuffer` (integer) - `frequencySequence` (integer) - `groupName` (string) - `groupId` (integer) - `repeatingCycle` (boolean) - `repeatingNumberOfCycle` (integer) - `keepOriginalNextBillingDateAfterTrial` (boolean) - `defaultSelectedPlan` (boolean) - `inventoryPolicyReserve` (string) Enum: "ON_FULFILLMENT", "ON_SALE", "$UNKNOWN" - `appstleCycles` (array) - `appstleCycles.afterCycle` (integer) The billing cycle number after which this pricing applies Example: 3 - `appstleCycles.discountType` (string) Type of discount to apply in pricing cycles Enum: "PERCENTAGE", "FIXED", "PRICE", "SHIPPING", "FREE_PRODUCT", "PERCENTAGE", "FIXED", "PRICE", "SHIPPING", "FREE_PRODUCT" - `appstleCycles.value` (number) Discount value. For PERCENTAGE: 0-100 (e.g., 10 for 10% off). For FIXED: amount to subtract from price. For PRICE: new fixed price. For SHIPPING: shipping discount amount. For FREE_PRODUCT: not used (set freeVariantId or freeProductHandle instead) Example: 10 - `appstleCycles.freeVariantId` (integer) Variant ID of a free product to add when discountType is FREE_PRODUCT Example: 42549172011164 - `appstleCycles.freeProductHandle` (string) Product handle of a free product to add when discountType is FREE_PRODUCT Example: "free-gift-product" - `appstleCycles.repeatingCycle` (boolean) Whether this pricing should repeat for subsequent cycles Example: true - `appstleCycles.repeatingNumberOfCycle` (integer) Number of cycles to repeat this pricing for when repeatingCycle is true Example: 6 - `appstleCycles.preventDuplicationFreeProduct` (boolean) Prevent adding duplicate free products if already in cart Example: true ## Response 401 fields (*/*): - `frequencyCount` (integer) - `frequencyInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `billingFrequencyCount` (integer) - `payAsYouGoPrepaidBillingFrequencyCount` (integer) - `billingFrequencyInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `frequencyName` (string) - `frequencyDescription` (string) - `discountOffer` (number) - `discountOffer2` (number) - `afterCycle1` (integer) - `afterCycle2` (integer) - `discountType` (string) Enum: "PERCENTAGE", "FIXED", "PRICE" - `discountType2` (string) Enum: "PERCENTAGE", "FIXED", "PRICE" - `discountEnabled` (boolean) - `discountEnabled2` (boolean) - `discountEnabledMasked` (boolean) - `discountEnabled2Masked` (boolean) - `id` (string) - `frequencyType` (string) Enum: "ON_PURCHASE_DAY", "ON_SPECIFIC_DAY" - `specificDayValue` (integer) - `specificMonthValue` (integer) - `specificDayEnabled` (boolean) - `maxCycles` (integer) - `minCycles` (integer) - `cutOff` (integer) - `prepaidFlag` (string) - `idNew` (string) - `planType` (string) Enum: "PAY_AS_YOU_GO", "PREPAID", "ADVANCED_PREPAID", "PAY_AS_YOU_GO_PREPAID" - `deliveryPolicyPreAnchorBehavior` (string) Enum: "ASAP", "NEXT", "$UNKNOWN" - `freeTrialEnabled` (boolean) - `freeTrialCount` (integer) - `freeTrialInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `memberOnly` (boolean) - `nonMemberOnly` (boolean) - `memberInclusiveTags` (string) - `memberExclusiveTags` (string) - `formFieldJson` (string) - `upcomingOrderEmailBuffer` (integer) - `frequencySequence` (integer) - `groupName` (string) - `groupId` (integer) - `repeatingCycle` (boolean) - `repeatingNumberOfCycle` (integer) - `keepOriginalNextBillingDateAfterTrial` (boolean) - `defaultSelectedPlan` (boolean) - `inventoryPolicyReserve` (string) Enum: "ON_FULFILLMENT", "ON_SALE", "$UNKNOWN" - `appstleCycles` (array) - `appstleCycles.afterCycle` (integer) The billing cycle number after which this pricing applies Example: 3 - `appstleCycles.discountType` (string) Type of discount to apply in pricing cycles Enum: "PERCENTAGE", "FIXED", "PRICE", "SHIPPING", "FREE_PRODUCT", "PERCENTAGE", "FIXED", "PRICE", "SHIPPING", "FREE_PRODUCT" - `appstleCycles.value` (number) Discount value. For PERCENTAGE: 0-100 (e.g., 10 for 10% off). For FIXED: amount to subtract from price. For PRICE: new fixed price. For SHIPPING: shipping discount amount. For FREE_PRODUCT: not used (set freeVariantId or freeProductHandle instead) Example: 10 - `appstleCycles.freeVariantId` (integer) Variant ID of a free product to add when discountType is FREE_PRODUCT Example: 42549172011164 - `appstleCycles.freeProductHandle` (string) Product handle of a free product to add when discountType is FREE_PRODUCT Example: "free-gift-product" - `appstleCycles.repeatingCycle` (boolean) Whether this pricing should repeat for subsequent cycles Example: true - `appstleCycles.repeatingNumberOfCycle` (integer) Number of cycles to repeat this pricing for when repeatingCycle is true Example: 6 - `appstleCycles.preventDuplicationFreeProduct` (boolean) Prevent adding duplicate free products if already in cart Example: true ## Response 403 fields (*/*): - `frequencyCount` (integer) - `frequencyInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `billingFrequencyCount` (integer) - `payAsYouGoPrepaidBillingFrequencyCount` (integer) - `billingFrequencyInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `frequencyName` (string) - `frequencyDescription` (string) - `discountOffer` (number) - `discountOffer2` (number) - `afterCycle1` (integer) - `afterCycle2` (integer) - `discountType` (string) Enum: "PERCENTAGE", "FIXED", "PRICE" - `discountType2` (string) Enum: "PERCENTAGE", "FIXED", "PRICE" - `discountEnabled` (boolean) - `discountEnabled2` (boolean) - `discountEnabledMasked` (boolean) - `discountEnabled2Masked` (boolean) - `id` (string) - `frequencyType` (string) Enum: "ON_PURCHASE_DAY", "ON_SPECIFIC_DAY" - `specificDayValue` (integer) - `specificMonthValue` (integer) - `specificDayEnabled` (boolean) - `maxCycles` (integer) - `minCycles` (integer) - `cutOff` (integer) - `prepaidFlag` (string) - `idNew` (string) - `planType` (string) Enum: "PAY_AS_YOU_GO", "PREPAID", "ADVANCED_PREPAID", "PAY_AS_YOU_GO_PREPAID" - `deliveryPolicyPreAnchorBehavior` (string) Enum: "ASAP", "NEXT", "$UNKNOWN" - `freeTrialEnabled` (boolean) - `freeTrialCount` (integer) - `freeTrialInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `memberOnly` (boolean) - `nonMemberOnly` (boolean) - `memberInclusiveTags` (string) - `memberExclusiveTags` (string) - `formFieldJson` (string) - `upcomingOrderEmailBuffer` (integer) - `frequencySequence` (integer) - `groupName` (string) - `groupId` (integer) - `repeatingCycle` (boolean) - `repeatingNumberOfCycle` (integer) - `keepOriginalNextBillingDateAfterTrial` (boolean) - `defaultSelectedPlan` (boolean) - `inventoryPolicyReserve` (string) Enum: "ON_FULFILLMENT", "ON_SALE", "$UNKNOWN" - `appstleCycles` (array) - `appstleCycles.afterCycle` (integer) The billing cycle number after which this pricing applies Example: 3 - `appstleCycles.discountType` (string) Type of discount to apply in pricing cycles Enum: "PERCENTAGE", "FIXED", "PRICE", "SHIPPING", "FREE_PRODUCT", "PERCENTAGE", "FIXED", "PRICE", "SHIPPING", "FREE_PRODUCT" - `appstleCycles.value` (number) Discount value. For PERCENTAGE: 0-100 (e.g., 10 for 10% off). For FIXED: amount to subtract from price. For PRICE: new fixed price. For SHIPPING: shipping discount amount. For FREE_PRODUCT: not used (set freeVariantId or freeProductHandle instead) Example: 10 - `appstleCycles.freeVariantId` (integer) Variant ID of a free product to add when discountType is FREE_PRODUCT Example: 42549172011164 - `appstleCycles.freeProductHandle` (string) Product handle of a free product to add when discountType is FREE_PRODUCT Example: "free-gift-product" - `appstleCycles.repeatingCycle` (boolean) Whether this pricing should repeat for subsequent cycles Example: true - `appstleCycles.repeatingNumberOfCycle` (integer) Number of cycles to repeat this pricing for when repeatingCycle is true Example: 6 - `appstleCycles.preventDuplicationFreeProduct` (boolean) Prevent adding duplicate free products if already in cart Example: true ## Response 500 fields (*/*): - `frequencyCount` (integer) - `frequencyInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `billingFrequencyCount` (integer) - `payAsYouGoPrepaidBillingFrequencyCount` (integer) - `billingFrequencyInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `frequencyName` (string) - `frequencyDescription` (string) - `discountOffer` (number) - `discountOffer2` (number) - `afterCycle1` (integer) - `afterCycle2` (integer) - `discountType` (string) Enum: "PERCENTAGE", "FIXED", "PRICE" - `discountType2` (string) Enum: "PERCENTAGE", "FIXED", "PRICE" - `discountEnabled` (boolean) - `discountEnabled2` (boolean) - `discountEnabledMasked` (boolean) - `discountEnabled2Masked` (boolean) - `id` (string) - `frequencyType` (string) Enum: "ON_PURCHASE_DAY", "ON_SPECIFIC_DAY" - `specificDayValue` (integer) - `specificMonthValue` (integer) - `specificDayEnabled` (boolean) - `maxCycles` (integer) - `minCycles` (integer) - `cutOff` (integer) - `prepaidFlag` (string) - `idNew` (string) - `planType` (string) Enum: "PAY_AS_YOU_GO", "PREPAID", "ADVANCED_PREPAID", "PAY_AS_YOU_GO_PREPAID" - `deliveryPolicyPreAnchorBehavior` (string) Enum: "ASAP", "NEXT", "$UNKNOWN" - `freeTrialEnabled` (boolean) - `freeTrialCount` (integer) - `freeTrialInterval` (string) Enum: "DAY", "WEEK", "MONTH", "YEAR" - `memberOnly` (boolean) - `nonMemberOnly` (boolean) - `memberInclusiveTags` (string) - `memberExclusiveTags` (string) - `formFieldJson` (string) - `upcomingOrderEmailBuffer` (integer) - `frequencySequence` (integer) - `groupName` (string) - `groupId` (integer) - `repeatingCycle` (boolean) - `repeatingNumberOfCycle` (integer) - `keepOriginalNextBillingDateAfterTrial` (boolean) - `defaultSelectedPlan` (boolean) - `inventoryPolicyReserve` (string) Enum: "ON_FULFILLMENT", "ON_SALE", "$UNKNOWN" - `appstleCycles` (array) - `appstleCycles.afterCycle` (integer) The billing cycle number after which this pricing applies Example: 3 - `appstleCycles.discountType` (string) Type of discount to apply in pricing cycles Enum: "PERCENTAGE", "FIXED", "PRICE", "SHIPPING", "FREE_PRODUCT", "PERCENTAGE", "FIXED", "PRICE", "SHIPPING", "FREE_PRODUCT" - `appstleCycles.value` (number) Discount value. For PERCENTAGE: 0-100 (e.g., 10 for 10% off). For FIXED: amount to subtract from price. For PRICE: new fixed price. For SHIPPING: shipping discount amount. For FREE_PRODUCT: not used (set freeVariantId or freeProductHandle instead) Example: 10 - `appstleCycles.freeVariantId` (integer) Variant ID of a free product to add when discountType is FREE_PRODUCT Example: 42549172011164 - `appstleCycles.freeProductHandle` (string) Product handle of a free product to add when discountType is FREE_PRODUCT Example: "free-gift-product" - `appstleCycles.repeatingCycle` (boolean) Whether this pricing should repeat for subsequent cycles Example: true - `appstleCycles.repeatingNumberOfCycle` (integer) Number of cycles to repeat this pricing for when repeatingCycle is true Example: 6 - `appstleCycles.preventDuplicationFreeProduct` (boolean) Prevent adding duplicate free products if already in cart Example: true