Thanx Integration
Thanx is a loyalty and guest engagement platform. This bidirectional integration syncs loyalty data between Thanx and EveryBite Passport, enabling unified rewards across your ecosystem.Overview
What Gets Synced
Thanx → EveryBite
| Thanx Data | Passport Field | Notes |
|---|---|---|
| Member ID | loyaltyPrograms.memberId | Links accounts |
| Points balance | loyaltyPrograms.points | Real-time balance |
| Tier status | loyaltyPrograms.tier | Gold, Platinum, etc. |
| Available rewards | availableRewards[] | Redeemable offers |
| Transaction history | Enriches meal history | When ordered via EveryBite |
EveryBite → Thanx
| Passport Data | Thanx Field | Notes |
|---|---|---|
| Orders | Transactions | Points earned |
| Redemptions | Reward usage | Points spent |
| Profile updates | Member profile | Email, preferences |
Setup
Prerequisites
- Thanx account with API access
- EveryBite Brand admin access
- Matching customer identifiers (email or phone)
Step 1: Get Thanx API Credentials
- Log into Thanx Merchant Portal
- Go to Settings → Integrations → API
- Generate API credentials
- Note your Merchant ID
Step 2: Enable in EveryBite
Step 3: Configure Member Matching
User Flows
Linking a Thanx Account to Passport
When a user wants to connect their existing Thanx account:Checking Points at Restaurant
When a Passport user visits a Thanx-enabled restaurant:Earning Points
When an order is placed through EveryBite:Redeeming Rewards
Real-Time Sync
Webhook Events from Thanx
Register to receive Thanx events:Event Payloads
Points Earned:Configuration Options
Points Earning Rules
Configure how points are earned on EveryBite orders:Handling Edge Cases
Member Not Found
Conflicting Accounts
When a user has multiple Thanx accounts:Testing
Sandbox Environment
Use Thanx sandbox for development:Test Scenarios
- Link existing member - Use test email
test@thanx.com - Create new member - Any unregistered email
- Earn points - Place test order
- Redeem reward - Use test reward ID
reward_test