Guru Digital Manager icon

Guru Digital Manager

Interact with Guru Digital Manager API

Actions39

Overview

This node integrates with the Guru Digital Manager API to manage various resources such as contacts, transactions, subscriptions, and more. Specifically for the Subscription - Delete operation, it allows users to delete a subscription by its ID. This is useful in scenarios where you need to programmatically cancel or remove subscriptions from your system, for example, when a customer cancels their service or when cleaning up test data.

Practical example:

  • Automatically deleting a subscription after a refund is processed.
  • Removing expired or inactive subscriptions during a scheduled cleanup workflow.

Properties

Name Meaning
Subscription ID The unique identifier of the subscription to delete.

Output

The output JSON contains a confirmation object indicating the success of the deletion operation. It has the following structure:

{
  "success": true,
  "message": "Subscription deleted successfully"
}

This confirms that the subscription was deleted without errors.

Dependencies

  • Requires an API key credential for authenticating with the Guru Digital Manager API.
  • The base URL for the API is configurable via credentials; defaults to https://digitalmanager.guru/api/v2.
  • The node uses HTTP requests to communicate with the API endpoints.

Troubleshooting

  • Missing Credentials Error: If no API credentials are provided, the node will throw an error stating that credentials are required. Ensure you have configured the necessary API authentication token in n8n.
  • Invalid Subscription ID: If the subscription ID does not exist or is incorrect, the API may return an error. Verify the subscription ID before attempting deletion.
  • API Endpoint Issues: If the base URL or API version changes, requests might fail. Confirm the base URL in your credentials matches the current API documentation.
  • Permission Errors: Ensure the API token used has sufficient permissions to delete subscriptions.
  • Network Issues: Connectivity problems can cause request failures; check network access and firewall settings.

Links and References

Discussion