Sample Campaigns

Number of APIs: 10

Sample campaigns collection

Use this collection to trigger the Talon.One demo campaigns.

Getting started

  1. Click the Variables tab and set the following variables:
    1. APIKey: Insert your API key, see Creating a generic API key.
    2. URL: Paste the base URL of your deployment, for example mycompany.europe-west1.talon.one.
    3. integrationId: Type any value. This represents a generic customer Id that you can freely choose.
    4. sessionId and referralCode are set automatically by the requests of this collection.
  2. Activate the campaign(s) you want to trigger in Talon.One's Campaign Manager. See Activating campaigns.
  3. Send the request matching the campaign you've enabled.

For more information, see our tutorials.

  1. EASY-DISCOUNT: Always 10% off - 10% on Transaction Copy PUT https://{{URL}}/v2/customer_sessions/:sessionId

  2. EASY-DISCOUNT: 20% off when session value greater than $200 - 20% on transaction over 200 PUT https://{{URL}}/v2/customer_sessions/:sessionId

  3. MEDIUM-LOYALTY: Collect 1 point per $ spent - Collect 1 point per $ spent PUT https://{{URL}}/v2/customer_sessions/:sessionId

  4. EASY-COUPON: 30% off with coupon code - 30% off with coupon code PUT https://{{URL}}/v2/customer_sessions/:sessionId

  5. EASY-DISCOUNT: Specific discounts on categories - Specific discounts on categories PUT https://{{URL}}/v2/customer_sessions/:sessionId

  6. MEDIUM-LOYALTY: Spend 1 point as 1$ - Spend 1 point as 1$ PUT https://{{URL}}/v2/customer_sessions/:sessionId

  7. ADVANCED-GAMIFICATION: Spend more than $300 3 times and get 1000 points - 3nd transaction above $300 PUT https://{{URL}}/v2/customer_sessions/:sessionId

  8. ADVANCED-BUNDLE: $50 off bundled products - $50 off bundled products PUT https://{{URL}}/v2/customer_sessions/:sessionId

  9. MEDIUM-REFERRAL: Generate and redeem a referral code - Friend uses referral code PUT https://{{URL}}/v2/customer_sessions/:sessionId

  10. MEDIUM-REFERRAL: Generate and redeem a referral code - Customer registers PUT https://{{URL}}/v2/customer_profiles/:integrationId?runRuleEngine=true