Actions45
- Order Actions
- Product Actions
- Customer Actions
- Address Actions
- Special Offer Actions
- Coupon Actions
- Shipment Actions
- Digital Product Actions
- Product Image Actions
- Product Video Actions
- Store Info Actions
- User Info Actions
Coupon → Get All
AI-generatedOverview
This node operation retrieves multiple coupons from the Salla e-commerce platform. It supports fetching all coupons or limiting the number of results returned. Users can filter coupons by keyword (coupon code) and status (active, inactive, expired). This operation is useful for scenarios where you need to list or analyze available coupons, such as marketing campaigns or discount management.
Use Case Examples
- Fetch all active coupons to display in a marketing dashboard.
- Retrieve a limited number of coupons filtered by a specific code keyword for auditing purposes.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all coupon results or only up to a specified limit. |
| Limit | Maximum number of coupon results to return when 'Return All' is false. |
| Filters | Filters to narrow down the coupon results, including keyword search by coupon code and filtering by coupon status (active, inactive, expired). |
Output
JSON
code- Coupon code identifier.type- Type of discount (percentage or fixed amount).amount- Discount amount value.expiry_date- Coupon expiration date.free_shipping- Indicates if the coupon includes free shipping.exclude_sale_products- Indicates if the coupon excludes products already on sale.status- Coupon status (active, inactive, expired).
Dependencies
- Salla API with OAuth2 authentication
Troubleshooting
- Ensure the OAuth2 API credentials are correctly configured to avoid authentication errors.
- If no coupons are returned, verify the filter criteria and ensure coupons exist matching those filters.
- The 'Limit' parameter must be between 1 and 100; setting values outside this range will cause errors.
Links
- Salla API Coupons Documentation - Official API documentation for managing coupons in Salla platform.