Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions45

Special Offer → Get All

AI-generated

Overview

This node operation retrieves all special offers from the Salla.sa e-commerce platform. It supports filtering the results by the status of the offers (active or inactive). Users can choose to return all results or limit the number of results returned. This operation is useful for scenarios where a user wants to list or analyze all promotional offers available in their store, such as for marketing analysis or updating a promotional dashboard.

Use Case Examples

  1. Retrieve all active special offers to display on a marketing dashboard.
  2. Fetch a limited number of inactive special offers for review and possible reactivation.

Properties

Name Meaning
Return All Whether to return all special offer results or only up to a given limit.
Limit Maximum number of special offer results to return when Return All is false.
Filters Filters to apply when retrieving special offers, currently supports filtering by offer status (active or inactive).

Output

JSON

  • id - Unique identifier of the special offer.
  • name - Name or title of the special offer.
  • applied_channel - Channels where the offer is applied (e.g., browser, browser and application).
  • offer_type - Type of the special offer (e.g., buy_x_get_y, percentage, fixed_amount, discounts_table).
  • applied_to - What the offer applies to (e.g., order, product, category, payment method).
  • status - Current status of the special offer (active or inactive).
  • start_date - Start date of the special offer.
  • expiry_date - Expiry date of the special offer.
  • buy - Details of the 'buy' part of a buy_x_get_y offer, including type, quantity, and products.
  • get - Details of the 'get' part of a buy_x_get_y offer, including type, discount type, quantity, and products.

Dependencies

  • Salla.sa API access with OAuth2 credentials

Troubleshooting

  • Ensure the OAuth2 credentials for Salla.sa API are correctly configured and valid.
  • If no special offers are returned, check the filter status and ensure there are offers matching the criteria.
  • The API may limit the number of results; use the 'Return All' option to fetch all items if needed.

Links

Discussion