Remove products or variants from a subscription group
Removes specified products and/or variants from an existing subscription group (selling plan group). This endpoint allows selective removal of products without affecting the group’s configuration or other product assignments.
Key Features:
- Remove multiple products and variants in a single request
- Remove all products from a specific collection
- Silently ignores products/variants not currently in the group
- Preserves subscription group configuration and settings
- Updates synchronously and returns the modified group
Collection Removal:
- When collectionId is provided, fetches and removes all products from that collection
- Collection processing is limited to 5000 products maximum
- Collection removal is additive to any explicitly specified productIds/variantIds
Important Notes:
- Removing products does NOT affect existing active subscriptions
- Can remove all products, leaving an empty subscription group
- Products/variants not in the group are silently ignored
- Use numeric IDs without gid:// prefix for products and variants
Authentication: Requires valid X-API-Key header
Headers
API Key for authentication
Path Parameters
Subscription group ID (numeric ID)
Query Parameters
Comma-separated list of product IDs to remove. Use numeric IDs without gid:// prefix.
^\d+(,\d+)*$Comma-separated list of variant IDs to remove. Use numeric IDs without gid:// prefix.
^\d+(,\d+)*$Shopify collection ID. When provided, removes all products from this collection (up to 5000 products). This is in addition to any explicitly specified productIds/variantIds.
Set to true to delete all products and their variants. Defaults to false.
API Key (Deprecated - Use X-API-Key header instead)
Response
Products/variants successfully removed from subscription group