Sample Campaigns
Number of APIs: 10
Sample campaigns collection
Use this collection to trigger the Talon.One demo campaigns.
Getting started
- Click the Variables tab and set the following variables:
APIKey
: Insert your API key, see Creating a generic API key.URL
: Paste the base URL of your deployment, for examplemycompany.europe-west1.talon.one
.integrationId
: Type any value. This represents a generic customer Id that you can freely choose.sessionId
andreferralCode
are set automatically by the requests of this collection.
- Activate the campaign(s) you want to trigger in Talon.One's Campaign Manager. See Activating campaigns.
- Send the request matching the campaign you've enabled.
For more information, see our tutorials.
-
EASY-DISCOUNT: Always 10% off - 10% on Transaction Copy PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
EASY-DISCOUNT: 20% off when session value greater than $200 - 20% on transaction over 200 PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
MEDIUM-LOYALTY: Collect 1 point per $ spent - Collect 1 point per $ spent PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
EASY-COUPON: 30% off with coupon code - 30% off with coupon code PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
EASY-DISCOUNT: Specific discounts on categories - Specific discounts on categories PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
MEDIUM-LOYALTY: Spend 1 point as 1$ - Spend 1 point as 1$ PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
ADVANCED-GAMIFICATION: Spend more than $300 3 times and get 1000 points - 3nd transaction above $300 PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
ADVANCED-BUNDLE: $50 off bundled products - $50 off bundled products PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
MEDIUM-REFERRAL: Generate and redeem a referral code - Friend uses referral code PUT https://{{URL}}/v2/customer_sessions/:sessionId
-
MEDIUM-REFERRAL: Generate and redeem a referral code - Customer registers PUT https://{{URL}}/v2/customer_profiles/:integrationId?runRuleEngine=true