Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

The node integrates with the Salla.sa e-commerce platform API to manage various resources such as orders, products, customers, addresses, special offers, coupons, shipments, and digital products. Specifically for the Address resource with the Delete operation, this node deletes an address record identified by its unique ID from the Salla platform.

This node is beneficial in scenarios where you need to automate the removal of outdated or incorrect address entries from your e-commerce system. For example, if a customer updates their shipping information and the old address should be removed, or if you want to clean up test data automatically.

Properties

Name Meaning
ID The unique identifier of the address resource to delete. This is required to specify which address will be removed.

Output

The output of the node is a JSON object representing the response from the Salla API after attempting to delete the specified address. Typically, this will include confirmation of deletion or relevant status information returned by the API.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Salla.sa e-commerce platform via an API authentication token (OAuth2 or similar).
  • The node depends on the sallaApiRequest helper function to make HTTP requests to the Salla API.
  • Proper credentials must be configured in n8n to authenticate API calls.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent address ID will likely result in an error from the API indicating that the resource was not found.
    • Missing or expired API credentials can cause authentication failures.
    • Network connectivity problems may prevent successful API communication.
  • Error messages:

    • "The operation "delete" is not supported for addresses!" β€” This would occur if the operation parameter is incorrectly set; ensure the operation is exactly "delete".
    • API errors related to authorization or permissions should be resolved by verifying the API key or OAuth token validity.
    • If the node throws an error about missing parameters, confirm that the "ID" field is correctly filled.

Links and References

Discussion