Mindz icon

Mindz

Interact with Mindz API

Actions115

Overview

The node interacts with the Mindz API, specifically handling operations related to various resources including bundles. For the Bundle resource and the Price operation, it allows users to set or update pricing details of a bundle product. This is useful in scenarios where you manage digital or physical product bundles and need to programmatically adjust their prices, payment terms, or installment options.

Practical examples include:

  • Updating the price of a course bundle after a promotional discount.
  • Setting up payment plans with a maximum number of installments and specifying whether those installments accrue interest.

Properties

Name Meaning
Bundle ID The unique identifier of the bundle to update the price for.
Price The new price value to assign to the bundle (supports two decimal places).
Max Number of Installments The maximum number of payment installments allowed for purchasing the bundle.
Installments With Interest Boolean flag indicating if the installments should include interest charges.

Output

The node outputs JSON data representing the result of the price update operation on the specified bundle. This typically includes confirmation details such as the updated price, installment settings, and possibly the bundle's identifier or status.

If the node supports binary data output, it would relate to any downloadable content or receipts generated by the pricing operation, but this is not indicated in the provided code.

Dependencies

  • Requires an active connection to the Mindz API via an OAuth2-based API key credential.
  • The node depends on the bundled resource implementations, particularly the bundleExecute function from the bundle resource module.
  • Proper configuration of the Mindz API credentials within n8n is necessary for authentication.

Troubleshooting

  • Common Issues:

    • Invalid or missing Bundle ID will cause the operation to fail.
    • Incorrect API credentials or expired tokens will prevent successful communication with the Mindz API.
    • Providing invalid values for price or installments (e.g., negative numbers) may result in errors.
  • Error Messages:

    • Authentication errors usually indicate issues with the API key or OAuth token; re-authenticate or update credentials.
    • Validation errors might mention required fields or invalid parameter formats; ensure all required properties are correctly filled.
    • Network or timeout errors suggest connectivity problems; verify network access to the Mindz API endpoint.

Links and References

Discussion