Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

This node integrates with the Salla.sa e-commerce platform API, allowing users to manage various resources such as orders, products, customers, addresses, special offers, coupons, shipments, and digital products. Specifically for the Customer resource with the Delete operation, the node deletes a customer from the Salla platform by their unique ID.

This functionality is useful in scenarios where you want to automate customer management workflows, such as removing inactive or fraudulent customers, cleaning up test data, or integrating customer lifecycle events with other systems.

Example use case: Automatically delete a customer record when they request account deletion through a form submission, ensuring your e-commerce database stays up-to-date without manual intervention.

Properties

Name Meaning
ID The unique identifier of the customer to delete. This is required to specify which customer record should be removed.

Output

The output of this operation is the JSON response returned by the Salla API after attempting to delete the specified customer. Typically, this will include confirmation of deletion or relevant status information.

  • The json output field contains the API response object.
  • No binary data is produced by this operation.

Dependencies

  • Requires an active connection to the Salla API using an OAuth2-based API key credential configured in n8n.
  • The node depends on the internal helper function to make authenticated HTTP requests to the Salla API endpoints.
  • Proper permissions are needed on the API key to perform delete operations on customers.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent customer ID will likely result in an error from the API indicating the resource was not found.
    • Insufficient API permissions can cause authorization errors.
    • Network connectivity problems may prevent successful API calls.
  • Error messages:

    • "The operation "delete" is not supported for customers!" β€” This would occur if the operation parameter is incorrectly set; ensure the operation is exactly "delete".
    • API errors related to authentication or authorization usually indicate misconfigured credentials or missing scopes.
  • Resolution tips:

    • Verify the customer ID exists before attempting deletion.
    • Check that the API key credential has the necessary permissions.
    • Enable "Continue On Fail" in the node settings to handle errors gracefully during batch processing.

Links and References

Discussion