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 customer data. Specifically, the Customer - Update operation allows users to update details of an existing customer by specifying the customer's ID and the fields to modify. This is useful in scenarios where customer information needs to be kept current, such as updating contact details, changing status, or modifying descriptive information.

Practical examples include:

  • Updating a customer's name or description after receiving new information.
  • Changing the status of a customer account (e.g., from "active" to "inactive").
  • Automating customer profile updates based on external triggers or workflows.

Properties

Name Meaning
ID The unique identifier of the customer to update.
Additional Fields Optional fields to update for the customer:
- Name: The customer's name.
- Description: A textual description related to the customer.
- Status: The customer's status; possible values are "Active", "Inactive", or "Draft".

Output

The output is a JSON object representing the updated customer resource as returned by the Salla API. It contains all relevant customer details after the update has been applied.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Salla.sa API.
  • Needs an API authentication token configured in n8n credentials to authorize requests.
  • Utilizes internal helper functions to perform HTTP requests to the Salla API endpoints.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent customer ID will result in an error from the API.
    • Omitting required fields or providing invalid field values (e.g., unsupported status) may cause request failures.
    • Network or authentication errors if the API key or token is missing or incorrect.
  • Error messages:

    • "The operation "update" is not supported for customers!" — indicates an unsupported operation was requested; ensure the operation parameter is correctly set to "update".
    • API response errors typically include messages about invalid IDs or malformed requests; verify input parameters accordingly.
  • Resolution tips:

    • Double-check the customer ID exists in the Salla system before attempting an update.
    • Validate that additional fields conform to expected types and allowed values.
    • Ensure the API credential is properly configured and has sufficient permissions.

Links and References

Discussion