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 including coupons. Specifically, the Coupon - Get All operation retrieves multiple coupon records from the API.
This operation is useful when you want to fetch a list of all available coupons or a subset based on pagination limits. For example, an e-commerce platform could use this node to synchronize or display all active discount coupons available in their system.
Practical scenarios include:
- Retrieving all coupons to analyze current promotions.
- Fetching a limited number of coupons for display in a dashboard.
- Automating workflows that depend on coupon data, such as marketing campaigns or reporting.
Properties
| Name | Meaning |
|---|---|
| Return All | Boolean flag indicating whether to return all coupon results or limit the number fetched. |
| Limit | Maximum number of coupon results to return if "Return All" is false (range 1-100). |
Output
The output is a JSON array where each element represents a coupon object retrieved from the Guru Digital Manager API. Each coupon object contains fields such as coupon ID, code, discount type, discount value, validity date, and other relevant coupon details as provided by the API.
No binary data output is produced by this operation.
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 to communicate with the API.
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 API key credential properly.
- API Request Failures: Network issues or invalid tokens may cause HTTP request failures. Verify your API token validity and network connectivity.
- Limit Exceeded: The "Limit" property must be between 1 and 100. Setting values outside this range may cause errors.
- Empty Results: If no coupons match the query or filters, the output will be an empty array.
- Unexpected API Changes: If the Guru Digital Manager API changes endpoints or response formats, the node might fail. Check the official API documentation for updates.
