Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

The node interacts with the Salla.sa e-commerce platform API to retrieve order data. Specifically, for the Order - Get All operation, it fetches multiple orders from the store based on optional filters and pagination settings.

This operation is useful when you want to:

  • Retrieve a list of all orders or a subset filtered by status, date range, or search terms.
  • Automate reporting or analytics workflows that require bulk order data.
  • Synchronize order data with other systems like CRMs or ERPs.

For example, you could use this node to get all completed orders from the last month or to fetch only active orders up to a certain limit for processing.

Properties

Name Meaning
Return All Whether to return all matching orders or limit the number of results.
Limit Maximum number of orders to return if not returning all (minimum 1, maximum 100).
Filters Collection of filters to narrow down the orders:
   Status Filter orders by one or more statuses: Active, Inactive, Draft, Pending, Completed, Cancelled.
   Date From Filter orders created on or after this date/time.
   Date To Filter orders created on or before this date/time.
   Search Search term to filter orders by matching text.

Output

The output is an array of JSON objects representing orders retrieved from the Salla API. Each object contains the order details as returned by the API, such as order ID, status, customer info, items, dates, and other metadata.

If multiple orders are returned, they are flattened into a single array.

No binary data is output by this operation.

Dependencies

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

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Requesting too many records without enabling "Return All" may result in truncated data.
    • Using unsupported filter values or invalid date formats can cause API request failures.
  • Error messages:

    • "The operation \"getAll\" is not supported for orders!" β€” indicates a misconfiguration or unsupported operation selected.
    • Network or API errors will typically include the error message from the Salla API response.
  • Resolutions:

    • Ensure the API key or OAuth2 token is correctly set up in n8n credentials.
    • Use valid filter values and date formats.
    • Enable "Return All" if you need to fetch more than the default limit of orders.

Links and References

Discussion