Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions144

Marketing → List Coupon Codes

AI-generated

Summary

Retrieves a list of coupon codes for a specific Salla marketing coupon, optionally returning the full backend response envelope.

Inputs

  • Sub-resource (required) — Select a sub-resource within the chosen category. The 'coupons' sub-resource is required for this operation.
  • Coupon Id (required) — The unique identifier of the Salla marketing coupon for which to retrieve coupon codes.
  • Return Mode — Choose how the node should emit responses. 'Data Only' returns the Salla data payload (arrays may emit multiple items). 'Full Envelope' returns the full backend response envelope, including status and raw data.

Output shape

A list of items representing the coupon codes associated with the specified coupon, or a single envelope containing the response metadata and data.

When Return Mode is 'Data Only', multiple items are emitted if the API returns an array of codes. When Return Mode is 'Full Envelope', a single item is emitted containing the full response structure from the Salla backend.

Examples

Example 1: Retrieve all coupon codes for a specific coupon to audit usage or export data.

Set Sub-resource to 'coupons', enter the Coupon ID, and optionally use 'Data Only' mode for a simple list of codes.

Example 2: Get the raw API response structure including pagination metadata for a specific coupon.

Set Sub-resource to 'coupons', enter the Coupon ID, and select 'Full Envelope' mode to receive the complete backend response.

Links

Discussion