Actions35
- Product Actions
- Order Actions
- Customer Actions
- Category Actions
- Variant Actions
- Image Actions
- Coupon Actions
- Webhook Actions
- Script Actions
- Transaction Actions
- Location Actions
- Page Actions
- Abandoned Cart Actions
- Fulfillment Actions
- Metafield Actions
Coupon → Get All
AI-generatedOverview
This node integrates with the Nuvemshop API to retrieve all coupons from a store. It supports fetching either all coupons or a limited number based on user input. This is useful for scenarios where a user wants to manage or analyze discount coupons in their e-commerce store, such as exporting coupon data for reporting or syncing with other systems.
Use Case Examples
- Retrieve all coupons without limit to get a complete list of active discounts.
- Fetch a limited number of coupons (e.g., 50) to preview or process a subset of available coupons.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all coupon results or only up to a given limit |
| Limit | Maximum number of coupon results to return when 'Return All' is false. The limit can be set between 1 and 200. |
Output
JSON
json- Each item contains a coupon object retrieved from the Nuvemshop API
Dependencies
- Requires an API key credential for Nuvemshop API authentication.
Troubleshooting
- If the node returns an error related to API authentication, ensure the Nuvemshop API credentials are correctly configured and valid.
- If the node returns fewer coupons than expected, check the 'Return All' and 'Limit' settings to ensure they match the desired output.
- API rate limits or network issues may cause request failures; retry or check network connectivity if errors occur.
Links
- Nuvemshop API Coupons Documentation - Official documentation for the Coupons endpoint in the Nuvemshop API, detailing available parameters and response structure.
