Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Marketing → List Coupon Codes

AI-generated

Summary

Retrieve a list of coupon codes using the Salla Marketing resource, specifying the sub-resource 'coupons' and the coupon ID.

Inputs

  • Sub-resource (required) — Select a sub-resource within the Marketing resource; for this operation, select 'coupons'.
  • Coupon Id (required) — Specify the numeric ID of the coupon to list associated coupon codes.
  • Return Mode — Choose to receive either only the coupon data payload ('Data Only') or the full backend response envelope including HTTP status and raw data ('Full Envelope'). Defaults to 'Data Only'.

Output shape

a list of coupon codes or a full response envelope containing coupon code data depending on the Return Mode setting.

When 'Data Only' is selected, the node outputs an array of coupon code data items. When 'Full Envelope' is selected, the output includes HTTP response status and raw data alongside the coupon data. Errors result in standard node execution failure.

Examples

Example 1: Fetch coupon codes for a specific coupon ID with data only response mode.

Resource set to Marketing, Sub-resource set to coupons, Operation set to List Coupon Codes, Coupon Id set to desired coupon ID, Return Mode set to Data Only.

Discussion