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 digital products. Specifically, the Update operation for the Digital Product resource allows users to modify existing digital product details such as name, description, and status.

Typical use cases include:

  • Updating product information after changes in branding or specifications.
  • Changing the availability status of a digital product (e.g., from draft to active).
  • Correcting descriptions or names without needing to recreate the product.

For example, an online store owner can automate updating digital product metadata when new versions are released or when promotional statuses change.

Properties

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

Output

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

No binary data output is involved in this operation.

Dependencies

  • Requires an API authentication token configured via OAuth2 credentials for the Salla platform.
  • The node depends on the sallaApiRequest helper function to communicate with the Salla API endpoints.
  • Proper network connectivity to the Salla API endpoint is necessary.

Troubleshooting

  • Error: "The operation 'update' is not supported for digital products!"
    This error indicates an unsupported operation was requested. Ensure the Resource is set to "Digital Product" and Operation to "Update".

  • API Authentication Errors
    If authentication fails, verify that the OAuth2 credentials are correctly configured and have sufficient permissions.

  • Invalid or Missing ID
    The "ID" property is required. Omitting it or providing an incorrect ID will cause the API request to fail. Double-check the product ID before running the node.

  • Empty or Invalid Additional Fields
    If no fields are provided to update, the API may reject the request or make no changes. Provide at least one valid field to update.

Links and References

Discussion