Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Recurring Payments API
  • App Functions
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Recurring Payments API
  • App Functions
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Customers Events
  • Welcome 👋
  • What are App Functions?
  • Get Started
  • Supported Events
  • Testing
  • Responses
  • NodeJs Support
  • Merchants Events
    • Brand Events
    • Cart Events
    • Category Events
    • Communication Events
    • Customer Events
    • Invoice Events
    • Review Events
    • Shipment Events
    • Shipping Company Events
    • Shipping Zone Events
    • Special Offer Events
    • Store Branch Events
  • Customers Events
    • Account Events
    • Cart & Checkout Events
    • Product Events
    • Promotion & Coupon Events
    • Wishlist Events
  1. Customers Events

Promotion & Coupon Events

This model defines the structure for events triggered when customers interact with promotions and coupons.

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 2025-11-17 11:41:06
Previous
Product Events
Next
Wishlist Events