Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

This node integrates with the Salla.sa e-commerce platform API to retrieve all special offers available in a store. It is useful for scenarios where you want to list or analyze current and past promotional offers, filter them by status or date, or search for specific offers based on keywords.

Practical examples include:

  • Fetching all active special offers to display on a marketing dashboard.
  • Retrieving a limited number of recent special offers for reporting purposes.
  • Searching special offers containing certain terms or filtering offers within a specific date range.

Properties

Name Meaning
Return All Whether to return all special offers or only up to a specified limit. Values: true or false
Limit Maximum number of special offers to return when "Return All" is false (1 to 100)
Filters Collection of filters to narrow down results:
  Status Filter by one or more statuses: Active, Inactive, Draft, Pending, Completed, Cancelled
  Date From Filter offers starting from this date (inclusive)
  Date To Filter offers up to this date (inclusive)
  Search Search term to filter special offers by matching text

Output

The node outputs an array of JSON objects representing special offers retrieved from the Salla API. Each object corresponds to a special offer and contains its details as provided by the API.

The output does not include binary data.

Dependencies

  • Requires an API authentication credential configured in n8n to access the Salla.sa API.
  • Uses internal helper functions to make authenticated HTTP requests to the Salla API endpoints.
  • No additional external dependencies beyond the configured API key/token.

Troubleshooting

  • Common issues:

    • Incorrect or missing API credentials will cause authentication failures.
    • Requesting too many items without enabling "Return All" may result in truncated data.
    • Using invalid filter values (e.g., unsupported status) may lead to empty results or errors.
  • Error messages:

    • "The operation "getAll" is not supported for special offers!" indicates a misconfiguration or unsupported operation selection.
    • Network or API errors will typically propagate with their message; ensure the API endpoint is reachable and credentials are valid.
  • Resolutions:

    • Verify API credentials and permissions.
    • Use valid filter options and respect limits.
    • Enable "Return All" if you need all records instead of a limited subset.

Links and References

Discussion