1. Cloud Mode Events
Salla Platform Docs
  • Overview
  • Getting Started
  • Device Mode
  • Cloud Mode
  • Custom Events
  • Device Mode Events
    • Cart & Checkout Events
    • Product Events
    • Promotion & Coupon Events
    • Wishlist Events
    • Account Events
  • Cloud Mode Events
    • Product Events
    • Cart & Checkout Events
    • Wishlist Events
    • Account Events
    • Promotion & Coupon Events
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Cloud Mode Events

Promotion & Coupon Events

This model defines the structure for events triggered when customers interact with promotions and coupons.
App Functions
These events are available as triggers in App Functions, which are serverless functions that execute automatically when customers interact with promotions and coupons.
What are App Functions? | Understand how App Functions work
Get Started | Build your first function in minutes
Supported Events | Full list of available events
Testing App Functions | Validate your implementation

Available Events#

Promotion Viewed - Customer views a promotion
Promotion Clicked - Customer clicks on a promotion
Coupon Entered - Customer enters a coupon code
Coupon Applied - Coupon is successfully applied
Coupon Removed - Customer removes a coupon

Event Type#

Asynchronous Events - All customer events are processed in the background.

Common Use Cases#

Track promotion effectiveness
Analyze coupon usage patterns
Monitor discount impact
Optimize promotion strategies
Trigger follow-up campaigns

Context Object#

Schema
Example
Promotion & Coupon Events

Example Implementation#

Track Coupon Usage#

Testing#

1
Install your app
Install your app on a demo store
2
Apply coupon
Enter and apply a coupon code during checkout
3
Test in preview
Use the promotion ID in the App Function preview panel

Related Events#

Checkout Events - Checkout process
Modified at 2026-05-13 08:40:00
Previous
Account Events