Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Products → Attach Image

AI-generated

Summary

Attach an image to a specific product in the Salla e-commerce store, using a publicly accessible HTTPS image URL. Configure image details such as main image status, sort order, and alternative text for accessibility and SEO.

Inputs

  • Sub-resource (required) — Select a sub-resource within the chosen category (must be 'images' for this operation).
  • Product (required) — Unique identification number of the product to which the image will be attached.
  • Image URL Source — Full HTTPS URL pointing to the image file. Only URL-based images are supported; file uploads are not supported for this operation.
  • Main — Boolean to set this image as the main (primary) image shown first on the storefront.
  • Sort — Numeric sort order for the image; lower numbers make the image appear earlier in the product gallery.
  • Alt Text — Alternative text for the image to assist with accessibility and SEO; shown if the image fails to load.
  • Return Mode — Choice between returning only the Salla data payload or the full backend response envelope including status and raw data.

Output shape

a list of response items, each containing either the Salla data payload (default) or the full backend response envelope including status and raw data.

The output adapts to the 'Return Mode' input parameter. For 'Data Only', arrays may emit multiple items. The node requires the product ID and an HTTPS image URL. Uploading images by file is not supported in this operation.

Discussion