Actions150
- Branches Actions
- Carts Actions
- Catalog Actions
- Customers Actions
- Add Customers To Group Customer
- Create Customer Group
- Delete Customer Group
- List Customer Groups
- Update Customer Group
- Ban Customer
- Create Customer
- Customer Details
- Delete Customer
- List Customers
- Un-Ban customer
- Update Customer
- Customer Loyalty Points
- Update Customer Loyalty Points
- List Reviews
- Review Details
- Update Review
- Finance Actions
- Locations Actions
- Marketing Actions
- Merchant Actions
- Orders Actions
- List Auto Assignment Rules
- Order Assigned Employees Details
- Create Order History
- List Order Histories
- Create Invoice
- Create Order Invoice
- Invoice Details
- List Invoices
- Send Order Invoice
- Create Order Item
- Delete Order Item
- List Order Items
- Update Order Item
- List Order Reservations
- Create Custom Order Status
- List Order Statuses
- Order Status Details
- Update Custom Order Status
- Update Order Status
- Create Order
- Duplicate Order
- List Orders
- Order Actions
- Order Details
- Relocate Order Stock
- Update Order
- Products Actions
- Attach Digital Code
- Attach Digital File
- Delete Digital File
- Attach Image
- Attach Video by SKU
- Attach Youtube Video
- Delete Image
- Update Image
- List Product Quantities
- List Quantity Audit
- List Quantity Change Reasons
- Update Bulk Quantities
- Delete Option Template
- List Option Templates
- Option Template Details
- Create Product Option Value
- Delete Product Option Value
- Product Option Value Details
- Update Product Option Value
- Create Product Option
- Delete Product Option
- Product Option Details
- Update Product Option
- Create Product Tag
- List Product Tags
- List Product Variants
- Product Variant Details
- Update Product Variant
- Change Product Status
- Create Product
- Delete Product
- Delete Product By SKU
- List Products
- Product Details
- Product Details By SKU
- Update Product
- Update Product By SKU
- Update Product Price By SKU
- Shipping Actions
Products → Attach Digital File
AI-generatedSummary
Attach a digital file to a specific digital sub-resource of a product in Salla by providing the product ID and a direct URL to the file. Optionally specify a display name for the file and choose the response format.
Inputs
- Sub-resource (required) — Select the specific digital sub-resource within the Products resource to which the file will be attached.
- Product (required) — The unique numeric ID of the product to which the digital file will be attached.
- File URL (required) — The direct URL pointing to the digital file. Salla will fetch and attach this file to the chosen product's digital sub-resource.
- Additional Fields — Optional additional parameters, including 'File Name' to specify the name shown to customers for the attached file.
- Return Mode — Choose whether to return only the Salla data payload ('Data Only') or the full backend response envelope including status and raw data ('Full Envelope').
Output shape
emits one or more JSON objects representing Salla's response data or full response based on the 'Return Mode' setting.
Responses will either be the direct data payload from Salla, potentially emitting multiple items if an array is returned, or the full response envelope including status and raw details. Errors throw detailed NodeOperationErrors with context.
Examples
Example 1: Attach a PDF manual URL as a digital file to product ID 123456 under the digital sub-resource.
Set resource to 'Products', sub-resource to the relevant digital type, operation to 'Attach Digital File', provide 'Product' as 123456, and 'File URL' as the direct link to the PDF. Optionally specify 'File Name' for customer display and select 'Return Mode' as desired.