Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

This node interacts with the Salla.sa e-commerce platform API to manage address data. Specifically, the "Get All" operation for the "Address" resource retrieves multiple address records from the platform. It supports filtering and pagination, allowing users to fetch either all addresses or a limited subset based on criteria such as status, date range, and search terms.

Common scenarios where this node is beneficial include:

  • Synchronizing address data from Salla into another system.
  • Generating reports or analytics on customer addresses.
  • Filtering addresses by status or date to target specific subsets for marketing or operational purposes.

For example, a user might want to retrieve all active addresses created after a certain date to send a promotional campaign or verify recent shipping destinations.

Properties

Name Meaning
Return All Whether to return all matching address records or limit the number of results returned.
Limit Maximum number of address records to return if not returning all (minimum 1, maximum 100).
Filters Collection of filters to narrow down results:
- Status Filter addresses by their status. Options: Active, Inactive, Draft, Pending, Completed, Cancelled.
- Date From Filter addresses created or updated from this date/time onward.
- Date To Filter addresses created or updated up to this date/time.
- Search Search term to filter addresses by matching text fields.

Output

The output is a JSON array where each item represents an address object retrieved from the Salla API. Each address object contains the details as provided by the API, such as address fields, status, creation date, and other relevant metadata.

No binary data output is produced by this operation.

Dependencies

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

Troubleshooting

  • Common issues:

    • Authentication errors if the API key or OAuth2 token is missing, expired, or invalid.
    • Rate limiting or API quota exceeded errors from the Salla API.
    • Invalid filter values causing the API to reject the request.
  • Error messages:

    • "The operation "getAll" is not supported for addresses!" — This would indicate a misconfiguration or unsupported operation; ensure the operation is set correctly.
    • Network or timeout errors — Check network connectivity and API availability.
  • Resolutions:

    • Verify that the API credentials are correctly set up and have sufficient permissions.
    • Adjust filters and limits to comply with API constraints.
    • Enable "Continue On Fail" in the node settings to handle partial failures gracefully.

Links and References

Discussion