Actions144
- Branches Actions
- Carts Actions
- Catalog Actions
- Customers Actions
- Add Customers To Group Customer
- Create Customer Group
- Delete Customer Group
- List Customer Groups
- Update Customer Group
- Ban Customer
- Create Customer
- Customer Details
- Delete Customer
- List Customers
- Un-Ban customer
- Update Customer
- Customer Loyalty Points
- Update Customer Loyalty Points
- List Reviews
- Review Details
- Update Review
- Finance Actions
- Locations Actions
- Marketing Actions
- Merchant Actions
- Orders Actions
- List Auto Assignment Rules
- Order Assigned Employees Details
- Create Order History
- List Order Histories
- Create Invoice
- Create Order Invoice
- Invoice Details
- List Invoices
- Send Order Invoice
- Create Order Item
- Delete Order Item
- List Order Items
- Update Order Item
- List Order Reservations
- Create Custom Order Status
- List Order Statuses
- Order Status Details
- Update Custom Order Status
- Update Order Status
- Create Order
- Duplicate Order
- List Orders
- Order Actions
- Order Details
- Relocate Order Stock
- Update Order
- Products Actions
- Attach Digital Code
- Attach Digital File
- Delete Digital File
- Attach Image
- Attach Video by SKU
- Attach Youtube Video
- Delete Image
- Update Image
- List Product Quantities
- List Quantity Audit
- List Quantity Change Reasons
- Update Bulk Quantities
- Delete Option Template
- List Option Templates
- Option Template Details
- Create Product Option Value
- Delete Product Option Value
- Product Option Value Details
- Update Product Option Value
- Create Product Option
- Delete Product Option
- Product Option Details
- Update Product Option
- Create Product Tag
- List Product Tags
- List Product Variants
- Product Variant Details
- Update Product Variant
- Change Product Status
- Create Product
- Delete Product
- Delete Product By SKU
- List Products
- Product Details
- Product Details By SKU
- Update Product
- Update Product By SKU
- Update Product Price By SKU
- Shipping Actions
Marketing → Create Coupon
AI-generatedSummary
Creates a new coupon in the Salla store with configurable discount type, scope, validity, and marketing tracking.
Inputs
- Sub-resource (required) — Select 'coupons' from the dropdown.
- Code (required) — The coupon code customers will enter at checkout (e.g., SUMMER20).
- Type (required) — Discount type: 'percentage' for percentage discount or 'fixed' for fixed amount discount.
- Amount (required) — Discount value. Use 0-100 for percentage, or currency amount for fixed.
- Expiry Date (required) — The last date/time this coupon can be used (required).
- Free Shipping (required) — Enable to waive shipping costs when this coupon is applied.
- Exclude Sale Products (required) — Prevent the coupon from being used on products already on sale.
- Products Include (IDs) — List of product IDs to limit the coupon to. Leave empty to apply to all products.
- Products Exclude (IDs) — List of product IDs to exclude from the coupon scope.
- Payment Methods — Limit the coupon to specific payment methods. Leave empty to allow all methods.
- Start Date — When the coupon becomes active. Leave empty to make it active immediately.
- Marketing Active — Enable marketing/affiliate commission tracking. When on, additional fields for marketer name, type, amount, and visibility appear.
Output shape
a single record representing the created coupon, or a list of items if the API returns an array.
If 'Full Envelope' is selected in Return Mode, the response includes the backend status and raw data. The coupon code is required and must be unique.
Examples
Example 1: Create a 20% discount coupon valid until the end of the year, applicable to all products.
Code: SUMMER20 | Type: Percentage | Amount: 20 | Expiry Date: 2025-12-31 | Products Include: empty (all products)
Example 2: Create a $10 fixed discount coupon for new customers only, excluding sale items.
Code: NEW10 | Type: Fixed Amount | Amount: 10 | Exclude Sale Products: true