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, products, and more. Specifically for the Product - Update operation, it allows users to update existing product details by specifying the product ID and the fields to be updated.

Typical use cases include:

  • Updating product information like name, description, price, or status in an e-commerce or digital product management system.
  • Automating product updates based on external triggers or workflows.
  • Synchronizing product data between Guru Digital Manager and other systems.

Example: You have a product whose price or description has changed, and you want to update this information automatically via n8n without manual intervention.

Properties

Name Meaning
Product ID The unique identifier of the product to update.
Product Data The fields of the product to update. This includes:
- Name: Product name (string)
- Description: Product description (string)
- Price: Product price (number)
- Status: Product status, options are "Active" or "Inactive"

Output

The node outputs the JSON response returned by the Guru Digital Manager API after updating the product. This typically contains the updated product object with its current properties reflecting the changes made.

If the update is successful, the output JSON will include the updated product details. If the product is deleted or an error occurs, the output will contain success messages or error information accordingly.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for Guru Digital Manager with appropriate permissions.
  • The base URL for the API is configurable but defaults to https://digitalmanager.guru/api/v2.
  • The node uses HTTP requests with Bearer token authentication.
  • Ensure that the API token used has permission to update products.

Troubleshooting

  • Missing Credentials Error: The node throws an error if the required API credentials are not set. Make sure to configure the API key/token in the node credentials.
  • Invalid Product ID: If the product ID does not exist or is incorrect, the API will return an error. Verify the product ID before running the update.
  • Permission Issues: If the API token lacks update permissions, the request will fail. Check API user roles and permissions.
  • API Endpoint Errors: Network issues or incorrect base URL configuration can cause failures. Confirm the base URL and network connectivity.
  • Partial Updates: Only provide fields you want to update inside Product Data. Omitting fields means they remain unchanged.

Links and References

Discussion