Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions45

Coupon → Get

AI-generated

Overview

This node interacts with the Salla.sa e-commerce platform API to retrieve information about a specific coupon by its ID. It is useful for scenarios where you need to fetch details of a particular coupon, such as its code, discount type, amount, expiry date, and status, for further processing or display in workflows.

Use Case Examples

  1. Retrieve a coupon's details to validate discount eligibility in an order processing workflow.
  2. Fetch coupon information to display in a marketing campaign or customer notification.

Properties

Name Meaning
ID The unique identifier of the coupon to retrieve.

Output

JSON

  • code - The unique coupon code identifier.
  • type - The type of discount the coupon provides (e.g., percentage or fixed amount).
  • amount - The discount amount value of the coupon.
  • expiry_date - The expiration date of the coupon.
  • free_shipping - Indicates if the coupon includes free shipping.
  • exclude_sale_products - Indicates if the coupon excludes products already on sale.
  • status - The current status of the coupon (e.g., active, inactive, expired).
  • products_include - List of product IDs included in the coupon applicability.
  • products_exclude - List of product IDs excluded from the coupon applicability.
  • list_include_categories - List of category IDs included in the coupon applicability.
  • list_exclude_categories - List of category IDs excluded from the coupon applicability.
  • is_group - Indicates if the coupon is part of a group of coupons.
  • group_name - Name of the coupon group if applicable.
  • group_coupons_count - Number of coupons in the group if applicable.
  • group_suffix - Suffix used for the coupon group codes.
  • marketing_active - Indicates if marketer commission is activated for the coupon.
  • marketing_name - Name of the marketer if commission is active.
  • marketing_type - Type of marketer commission (percentage or fixed).
  • marketing_amount - Amount of marketer commission.

Dependencies

  • An API key credential for Salla OAuth2 authentication

Troubleshooting

  • Ensure the coupon ID provided is valid and exists in the Salla platform to avoid 'resource not found' errors.
  • Check API credentials and permissions if authentication errors occur.
  • Verify network connectivity to the Salla API endpoint.

Links

Discussion