Integrate Talon.One customer sessions using the v2 Integration API and process returned effects at checkout

domain: docs.talon.one · 5 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity attestations: 0✓ / 0✗

Verified steps

  1. Generate an Application-scoped Integration API key in Campaign Manager (Settings > Integration API Keys) and call the API server-side only.
  2. Build a customer session payload with cartItems, couponCodes, and an optional profileId to bind the session to a customer profile.
  3. Send PUT /v2/customer_sessions/{customerSessionId} with header Authorization: ApiKey-v1 {key} to create or update the session.
  4. Parse the effects array in the response (e.g. setDiscount, acceptCoupon, rejectCoupon, addLoyaltyPoints) and apply each effect's props to your storefront/cart.
  5. Use runRuleEngine plus dry:true on a preview call to evaluate rules without persisting changes, then re-send with state:"closed" at checkout completion to finalize.

Known gotchas

Related routes

Manage Talon.One customer profiles and custom attributes via the Integration API
docs.talon.one · 5 steps · unrated
Read a Talon.One customer's loyalty points balance and transaction history via the Integration API
docs.talon.one · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans