Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Products → Attach Digital Code

AI-generated

Summary

Attach one or more digital codes to a specific digital product in Salla by specifying the product ID and the codes. Optionally choose the response format to receive either the Salla data payload or the full API response envelope.

Inputs

  • Sub-resource (required) — Select the sub-resource "digital" within the Products resource category.
  • Product (required) — Unique identification number assigned to a product to which digital codes will be attached.
  • Digital Codes (required) — One or more digital codes to attach, entered as multiple string values; each code is sent as part of a codes[] array to Salla.
  • Return Mode — Select whether to return only the data portion of Salla's response or the full response including status and raw data.

Output shape

a list of JSON objects representing the API response data or envelopes, one per input item.

The node emits either the pure data objects from Salla or the full response envelopes (status, raw data) depending on the 'Return Mode' setting. If multiple digital codes are supplied, they are sent together in a single request as an array parameter codes[]. Errors are thrown if required fields are missing or invalid.

Discussion