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, including products. Specifically, for the Product - Update operation, it updates an existing product's details on the Salla platform by sending the specified changes via the API.

This operation is useful when you want to programmatically modify product information such as its name, description, or status without manually accessing the Salla dashboard. For example, you could automate updating product statuses based on inventory levels or change descriptions dynamically based on marketing campaigns.

Properties

Name Meaning
ID The unique identifier of the product to update.
Additional Fields Optional fields to update on the product:
- Name: The new name of the product.
- Description: The new description of the product.
- Status: The current status of the product; options are "Active", "Inactive", or "Draft".

Output

The output is a JSON object representing the updated product resource as returned by the Salla API. It typically includes all product details after the update, reflecting the new values set.

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 (an OAuth2 API key credential).
  • Uses internal helper functions to make HTTP requests to the Salla API endpoints.

Troubleshooting

  • Common issues:

    • Invalid or missing product ID will cause the API request to fail.
    • Providing invalid field values (e.g., unsupported status) may result in API errors.
    • Network or authentication failures can prevent successful updates.
  • Error messages:

    • "The operation "update" is not supported for products!" β€” This indicates an unsupported operation was requested; ensure the operation parameter is correctly set to "update".
    • API error messages related to authorization or validation will be passed through; verify API credentials and input data correctness.
  • Resolutions:

    • Double-check the product ID exists and is correct.
    • Validate that additional fields conform to expected types and allowed values.
    • Ensure the API credentials are valid and have sufficient permissions.

Links and References

Discussion