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 address resources. Specifically, the Update Address operation allows users to modify details of an existing address by providing its unique ID and any fields they want to change. This is useful in scenarios where customer or shipping addresses need correction or updating after creation.

Practical examples include:

  • Updating a customer's shipping address when they move to a new location.
  • Correcting typos or adding additional information to an existing address record.
  • Changing the status or description associated with an address resource.

Properties

Name Meaning
ID The unique identifier of the address resource to update.
Additional Fields Optional fields to update on the address resource. Includes:
- Name: Name of the address (string).
- Description: Description or notes about the address (string).
- Status: Current status of the address. Options are: Active, Inactive, Draft.

Output

The node outputs a JSON object representing the updated address resource as returned by the Salla API. This typically includes all address details such as ID, name, description, status, and any other relevant metadata.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Salla.sa API using an OAuth2-based API key credential.
  • The node depends on the sallaApiRequest helper function to make authenticated HTTP requests to the Salla API endpoints.
  • Proper configuration of the API credentials within n8n is necessary for successful communication.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent address ID will result in an error from the API indicating the resource was not found.
    • Missing required authentication credentials will cause authorization failures.
    • Attempting to update with invalid field values (e.g., unsupported status) may lead to validation errors.
  • Error messages:

    • "The operation "update" is not supported for addresses!" — This indicates a misconfiguration or unsupported operation; ensure the operation parameter is correctly set to "update".
    • API errors related to invalid IDs or permissions will be passed through; verify the ID exists and the API key has sufficient rights.
  • Resolution tips:

    • Double-check the address ID before running the update.
    • Confirm that the API credentials are valid and have the necessary scopes.
    • Validate input fields conform to expected formats and allowed values.

Links and References

Discussion