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 manage digital products. Specifically, the "Get All" operation for the "Digital Product" resource retrieves multiple digital product records from the store.

It supports fetching either all digital products or a limited subset based on user-defined filters and limits. This is useful for scenarios such as synchronizing digital product catalogs, generating reports, or automating inventory checks.

For example, you could use this node to:

  • Retrieve all active digital products created within a specific date range.
  • Search digital products by keywords in their metadata.
  • Limit the number of returned digital products to avoid processing large datasets at once.

Properties

Name Meaning
Return All Whether to return all digital product results or only up to a specified limit.
Limit Maximum number of digital product results to return (applicable if "Return All" is false).
Filters Collection of filters to narrow down results:
  Status Filter by one or more statuses: Active, Inactive, Draft, Pending, Completed, Cancelled.
  Date From Filter digital products created or updated from this date/time onward.
  Date To Filter digital products created or updated up to this date/time.
  Search Search term to filter digital products by matching text fields.

Output

The output is a JSON array where each item represents a digital product object retrieved from the Salla API. Each object contains the digital product's details as provided by the API, such as ID, name, description, status, creation date, and other relevant metadata.

No binary data output is produced by this operation.

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.
  • The node depends on the Salla API being available and responsive.

Troubleshooting

  • Common issues:

    • Authentication errors if the API key or OAuth token is missing, invalid, or expired.
    • Network connectivity problems preventing access to the Salla API.
    • Invalid filter parameters causing the API to reject the request.
    • Exceeding rate limits imposed by the Salla API.
  • Error messages:

    • Errors thrown by the node will include messages from the Salla API or indicate unsupported operations.
    • If the operation is not supported for the resource, an error like The operation "getAll" is not supported for digital products! may appear (unlikely here since "getAll" is supported).
  • Resolutions:

    • Verify and update the API credentials in n8n.
    • Check network connectivity and firewall settings.
    • Ensure filter values conform to expected formats and allowed options.
    • Use the "Return All" option carefully to avoid large data loads that might time out.

Links and References

Discussion