Syncaty Salla icon

Syncaty Salla

Interact with Salla stores via Prosynai platform

Actions30

Coupon → Create

AI-generated

Summary

Create a new coupon in the selected Salla store by specifying coupon details such as code, discount type, amount, usage limits, and validity dates.

Inputs

  • Store (required) — Select the Salla store to create the coupon in.
  • Coupon Fields — Set coupon properties including Code (string), Type (percentage or fixed), Amount (number), Maximum Uses (number), Start Date, and Expiry Date.

Output shape

a JSON object representing the created coupon's data returned from the Salla API

The output includes the API response data for the newly created coupon. Errors during creation cause the workflow to fail unless 'Continue On Fail' is enabled.

Examples

Example 1: Create a coupon with code 'SUMMER21', offering a 15% discount valid from 2024-07-01 to 2024-08-31 with a maximum of 100 uses.

Set Store to your target Salla store. Provide Coupon Fields: Code = 'SUMMER21', Type = 'percentage', Amount = 15, Maximum Uses = 100, Start Date = '2024-07-01T00:00:00Z', Expiry Date = '2024-08-31T23:59:59Z'.

Discussion