CAPIShop icon

CAPIShop

Integração completa com Nuvemshop API

Actions35

Coupon → Get All

AI-generated

Overview

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

  1. Retrieve all coupons without limit to get a complete list of active discounts.
  2. 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

Discussion