Actions39
- Contact Actions
- Transaction Actions
- Subscription Actions
- Affiliation Actions
- Checkout Actions
- Country Actions
- Coupon Actions
- Product Actions
- User Actions
- Webhook Actions
Overview
This node integrates with the Guru Digital Manager API to manage various resources such as contacts, transactions, subscriptions, coupons, products, users, and webhooks. Specifically for the Coupon - Get operation, it retrieves detailed information about a single coupon by its unique ID.
This node is beneficial in scenarios where you need to fetch coupon details dynamically within an automation workflow, for example:
- Validating a coupon code before applying a discount.
- Retrieving coupon metadata for reporting or analytics.
- Synchronizing coupon data between Guru Digital Manager and other systems.
Properties
| Name | Meaning |
|---|---|
| Coupon ID | The unique identifier of the coupon to retrieve. This is a required string input. |
Output
The output is a JSON object representing the coupon's details as returned by the Guru Digital Manager API. It typically includes fields such as coupon code, discount type, discount value, validity dates, and any other metadata associated with the coupon.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"id": "coupon_12345",
"code": "SUMMER21",
"discount_type": "percentage",
"discount_value": 15,
"valid_until": "2025-12-31",
...
}
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 with Bearer token authorization.
Troubleshooting
- Missing Credentials Error: If no API credentials are provided, the node will throw an error indicating that credentials are required.
- Invalid Coupon ID: If the coupon ID does not exist or is incorrect, the API will likely return a 404 error. Verify the coupon ID is correct.
- API Access Issues: Ensure the API token has permission to access coupon data.
- Network or Endpoint Errors: Check the base URL configuration and network connectivity.
- Unexpected API Response: If the API changes or returns unexpected data, the node may fail or produce errors.
Links and References
- Guru Digital Manager API Documentation: https://docs.digitalmanager.guru/developers/coupons
