Actions39
- Contact Actions
- Transaction Actions
- Subscription Actions
- Affiliation Actions
- Checkout Actions
- Country Actions
- Coupon Actions
- Product Actions
- User Actions
- Webhook Actions
Overview
The node "Guru Digital Manager" allows interaction with the Guru Digital Manager API to manage various resources such as contacts, transactions, subscriptions, and more. Specifically, for the Subscription - Update operation, this node updates an existing subscription's details by sending a PUT request to the API with the provided subscription ID and updated subscription data.
This node is beneficial in scenarios where you need to programmatically update subscription information such as changing the subscription plan, updating its status (e.g., active, inactive, cancelled), or modifying the start date. For example, you might use it to automate subscription management workflows, like upgrading a customer's plan or cancelling a subscription based on business logic.
Properties
| Name | Meaning |
|---|---|
| Subscription ID | The unique identifier of the subscription to update. |
| Subscription Data | A collection of fields to update on the subscription: |
| - Plan: The subscription plan identifier or name. | |
| - Status: The current status of the subscription. Options: Active, Inactive, Cancelled. | |
| - Start Date: The start date of the subscription (date-time). |
Output
The output is a JSON array containing the response from the Guru Digital Manager API after updating the subscription. This typically includes the updated subscription object with its new values reflecting the changes made.
If multiple items are processed, the output will be an array of such responses. If an error occurs and "Continue On Fail" is enabled, the output will include an error message object for that item.
The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating with the Guru Digital Manager API.
- The base URL for the API defaults to
https://digitalmanager.guru/api/v2but can be overridden in credentials. - The node uses HTTP requests with Bearer token authorization.
Troubleshooting
- Missing Credentials Error: The node throws an error if the required API authentication token is not provided. Ensure you have configured the API key credential correctly.
- Invalid Subscription ID: If the subscription ID does not exist or is incorrect, the API may return an error. Verify the subscription ID before running the update.
- API Request Failures: Network issues or incorrect base URL settings can cause failures. Check your network connection and credential configuration.
- Permission Issues: Ensure the API token has sufficient permissions to update subscriptions.
- Error Handling: If "Continue On Fail" is disabled, the node will stop execution on the first error. Enable it to process all items even if some fail.
Links and References
- Guru Digital Manager API Documentation: https://docs.digitalmanager.guru/developers/subscriptions
