# Remove products or variants from ALL subscription groups Removes specified products and/or variants from ALL subscription groups in the store. This is a powerful bulk operation that affects every subscription group simultaneously. ⚠️ WARNING: This operation: - Affects ALL subscription groups in your store - Cannot be easily undone - Processes synchronously (may timeout for stores with many groups) - Does NOT affect existing active subscriptions Use Cases: - Discontinuing products from all subscription offerings - Removing seasonal items from all groups - Cleaning up deleted products from subscription groups - Compliance-driven product removals Important Considerations: - Each group is updated individually - If any group update fails, previous groups remain updated - Large operations may take significant time - Consider using individual group removal for better control Authentication: Requires valid X-API-Key header Endpoint: PUT /api/external/v2/subscription-groups/remove-products Version: 0.0.1 ## Query parameters: - `productIds` (string) Comma-separated list of product IDs to remove from all groups. Use numeric IDs without gid:// prefix. Example: "987654321,987654322" - `variantIds` (string) Comma-separated list of variant IDs to remove from all groups. Use numeric IDs without gid:// prefix. Example: "123456789,123456790" - `api_key` (string) API Key (Deprecated - Use X-API-Key header instead) ## Header parameters: - `X-API-Key` (string, required) API Key for authentication Example: "sk_live_1234567890abcdef" ## Response 400 fields ## Response 500 fields