Add products or variants to an existing subscription group
Adds one or more products and/or product variants to an existing subscription group (selling plan group). This endpoint provides a simple way to expand the product catalog eligible for subscription without modifying the group’s configuration or existing product assignments.
Full behavior, validation rules, and side effects
Key Features:
- Add multiple products and variants in a single request
- Preserves existing product and variant assignments
- Maintains the order of products as provided
- Updates delivery profiles automatically if needed
- Synchronously updates Shopify and returns the updated group
- Optional response enhancement with added products information
Important Notes:
- Product IDs should be numeric Shopify product IDs without the gid:// prefix
- Variant IDs should be numeric Shopify variant IDs without the gid:// prefix
- Adding products also makes all their variants eligible for subscription
- Adding specific variants limits subscription eligibility to those variants only
- Duplicate products/variants are handled gracefully by Shopify
- URL length limits apply to the comma-separated lists (use bulk endpoint for large additions)
- Include ‘x-return-short-response: true’ header to get only added products/variants information in response
Use Cases:
- Launch new products with subscription options
- Add seasonal items to existing subscription groups
- Enable subscription for specific product variants
- Expand subscription eligibility without changing plan configurations
- Track which products were added in the current request
Authentication: Requires valid X-API-Key header
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
API Key for authentication
Header to indicate if response should return only added products ID information. Set to 'true' for minimal response, any other value or omitted for full response.
Path Parameters
Subscription group ID (numeric ID)
Query Parameters
API Key (Deprecated - Use X-API-Key header instead)
Comma-separated list of Shopify product IDs to add. Adding a product makes all its variants eligible for subscription. Use numeric IDs only (e.g., '987654321,987654322,987654323')
^\d+(,\d+)*$Comma-separated list of Shopify variant IDs to add. Use this to enable subscription for specific variants only. Use numeric IDs only (e.g., '123456789,123456790,123456791')
^\d+(,\d+)*$Response
Products successfully added to subscription group