Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions144

Products → Attach Digital Code

AI-generated

Summary

Attaches one or more digital codes to a Salla product by sending them as a codes array. Select the product and add each code as a separate Digital Codes entry.

Inputs

  • Product (required) — The product’s unique numeric ID.
  • Digital Codes (required) — One or more digital codes; blank entries are discarded, and the operation errors if no codes remain.
  • Return Mode — Choose Data Only (default) to return the response data, or Full Envelope to include response status and raw data.

Output shape

A single response item, typically containing the Salla data payload.

With Data Only, an array payload may produce multiple items; with Full Envelope, the response is returned in an envelope containing status, data, and raw response fields.

Examples

Example 1: Attach codes to a product

Set Product to the product ID, then add each code in Digital Codes as a separate entry.

Links

Discussion