Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions144

Products → Attach Digital File

AI-generated

Summary

Attach a digital file to a Salla product by sending its product ID and a direct file URL to the Salla Actions backend.

Inputs

  • Product (required) — Numeric ID of the digital product to attach the file to.
  • File URL (required) — Direct URL to the digital file; the backend fetches and attaches it to the product.
  • File Name — Optional name displayed to customers.
  • Return Mode — Choose Data Only (default) to return the Salla data payload, or Full Envelope to include response status and raw data.

Output shape

A single response item for a non-array response; an array payload may produce multiple items in Data Only mode.

Full Envelope returns one item containing ok, status, data, error, and raw. In Data Only mode, object data is returned directly; other scalar or empty data is wrapped as a data field or null.

Links

Discussion