Actions115
- Course Actions
- Bundle Actions
- Course Grade Actions
- Course Grade Detail Actions
- Course Teacher Actions
- Email Actions
- Email Campaign Actions
- Email Campaign Course Actions
- Email Campaign Excluded Course Actions
- Email Campaign Excluded List Actions
- Enroll Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- MindzPay Account Actions
- MindzPay Invoice Actions
- MindzPay Payment Actions
- MindzPay Subscription Actions
- Subscription Actions
- Team Actions
- User Actions
Overview
The "Remove Product" operation under the "Subscription" resource in this Mindz node allows users to remove a specific product from an existing subscription plan. This is useful in scenarios where a subscription plan needs to be updated by detaching certain products that are no longer relevant or required for the subscriber.
Practical examples include:
- A SaaS platform managing customer subscriptions might use this operation to dynamically adjust the products included in a customer's subscription.
- An e-commerce system offering bundled subscriptions can remove individual products from a subscription bundle when customers downgrade or customize their plans.
Properties
| Name | Meaning |
|---|---|
| Subscription Plan ID | The unique identifier of the subscription plan from which a product will be removed. |
| Product ID | The unique identifier of the product to be removed from the specified subscription plan. |
Output
The output JSON typically contains the result of the removal operation, such as confirmation of success or details about the updated subscription. The exact structure depends on the API response but generally includes fields indicating whether the product was successfully removed and possibly the current state of the subscription after modification.
This node does not explicitly handle binary data output.
Dependencies
- Requires an API key credential for authenticating with the Mindz API.
- The node depends on the Mindz API service being available and accessible.
- Proper configuration of the OAuth2 or API authentication credentials within n8n is necessary.
Troubleshooting
Common Issues:
- Invalid or missing Subscription Plan ID or Product ID will cause the operation to fail.
- Network connectivity issues or incorrect API credentials may prevent successful communication with the Mindz API.
- Attempting to remove a product that is not part of the subscription may return an error or no-op response.
Error Messages:
- "Subscription Plan ID is required" or "Product ID is required": Ensure these fields are correctly filled.
- "Unauthorized" or "Authentication failed": Verify that the API credentials are valid and have the necessary permissions.
- "Product not found in subscription": Confirm that the product ID exists within the specified subscription before attempting removal.
Resolving these errors usually involves verifying input parameters, checking API credentials, and ensuring the product-subscription relationship exists.
Links and References
- Mindz API Documentation (general reference for subscription management)
- n8n Documentation on creating and using custom nodes
- OAuth2 Authentication setup in n8n