Introduction
Automatic purchase tracking for loyalty and rewards applications.
What it does
Brandclub Sync lets users connect their retail accounts (Amazon, Walmart, Target, etc.) to your app. Once connected, their purchases sync automatically—no receipt uploads needed.
Install
Via CDN (recommended):
<script src="https://cdn.brandclub.com/sync-sdk/latest/brandclub.umd.js"></script>Or via NPM:
npm install @brandclub/sync-sdkQuick Start
<div id="sync-widget"></div>
<script src="https://cdn.brandclub.com/sync-sdk/latest/brandclub.umd.js"></script>
<script>
BrandclubSync.init({
clientId: "bc_your_app",
container: document.getElementById("sync-widget"),
onSync: (result) => console.log("Synced!", result),
});
</script>That's it. The widget handles authentication, retailer connection, and syncing.
What you get
15+ Major Retailers - Amazon, Walmart, Target, Kroger, and more
Verified Orders - Product names, prices, dates (no PII)
Automatic Sync - Updates every 24 hours
Portable Identity - Users' connections work across all your apps
Environments
Production
sync.brandclub.com
Live apps
Sandbox
sync-beta.brandclub.com
Testing
Get a Client ID
You'll need a client ID to integrate. During registration, provide:
App name
Redirect URIs (e.g.,
https://yourapp.com/callback)Required permissions
Next Steps
Getting Started - Step-by-step integration
API Reference - Complete endpoint documentation
Data Reference - Order data structure and PII details
Security - How we protect user data
Last updated