Memberspot

Interact with the Memberspot API (powered by agentur-systeme.de)

Overview

This node integrates with the Memberspot API to manage user-related data and actions within an online course or membership platform. Specifically, the "Set Order State" operation allows you to update the active state of a particular order associated with a user identified by their email address. This is useful for scenarios such as activating or deactivating access tied to a purchase order, managing subscription statuses, or controlling order-based permissions.

Practical examples:

  • Marking an order as active after payment confirmation.
  • Deactivating an order when a refund is issued or subscription is canceled.
  • Automating order state changes based on external triggers in your workflow.

Properties

Name Meaning
Email The email address of the user whose order state you want to set.
Order ID The identifier of the order whose state you want to change.
Active Boolean flag indicating whether the order should be active (true) or inactive (false).

Output

The node outputs JSON data representing the response from the Memberspot API after setting the order state. This typically includes confirmation details about the updated order state or any relevant metadata returned by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Memberspot API.
  • The node expects the base URL of the Memberspot API to be configured in the credentials.
  • Network connectivity to the Memberspot API endpoint is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing email or order ID parameters will cause the API call to fail.
    • Incorrect API credentials or expired tokens will result in authentication errors.
    • Network issues or incorrect base URL configuration can lead to request failures.
  • Error messages:

    • Errors thrown by the node include detailed API error responses wrapped in a NodeApiError, which indicates the item index causing the failure.
    • To resolve, verify that the email and order ID are correct and exist in the Memberspot system.
    • Ensure the API key credential is valid and has sufficient permissions.
    • Check network connectivity and the correctness of the API base URL.

Links and References

Discussion