Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions45

Digital Product → Update

AI-generated

Overview

This node updates an existing digital product on the Salla.sa e-commerce platform. It allows users to modify various attributes of a digital product such as status, description, quantity, SKU, sale price, and associated category IDs. This operation is useful for managing digital product details dynamically, for example, updating stock availability or changing pricing information.

Use Case Examples

  1. Updating the description and sale price of a digital product to reflect a new promotion.
  2. Changing the status of a digital product to 'Out of Stock' when it is temporarily unavailable.
  3. Modifying the categories associated with a digital product to improve product organization and searchability.

Properties

Name Meaning
ID The unique identifier of the digital product to update, required to specify which product to modify.
Additional Fields A collection of optional fields to update on the digital product, including status, description, quantity, unlimited quantity flag, SKU, sale price, and category IDs.

Output

JSON

  • id - The unique identifier of the updated digital product.
  • name - The name of the digital product.
  • price - The price of the digital product.
  • status - The availability status of the digital product.
  • description - The description of the digital product.
  • quantity - The available quantity of the digital product.
  • unlimited_quantity - Indicates if the product has unlimited stock.
  • sku - The SKU of the digital product.
  • sale_price - The discounted sale price of the digital product.
  • categories - The categories associated with the digital product.

Dependencies

  • Salla.sa API
  • OAuth2 API key credential

Troubleshooting

  • Ensure the provided digital product ID is valid and exists in the Salla.sa platform to avoid 'resource not found' errors.
  • Verify that the OAuth2 API credentials are correctly configured and have the necessary permissions to update digital products.
  • Check that the category IDs and other fields are formatted correctly, especially comma-separated lists, to prevent request failures.
  • If the API returns an unsupported operation error, confirm that the operation is correctly set to 'update' for the digital product resource.

Discussion