Pre-Built Tooling
Category | Details |
---|---|
Authentication | OAuth 2.0 (Authorization Code with refresh tokens) or Bearer Token |
Two-Way Sync | No |
Events Supported | No |
Realtime | Polling |
Supports Rate Limiting | Yes |
Authentication Scopes Supported | read_customers , write_customers , read_orders , write_orders , read_unsubscribes , write_unsubscribes |
Objects Supported
Alloy Automation supports syncing the following objects from LoyaltyLion:- Custom actions and resources (refer to LoyaltyLion API documentation for available endpoints)
Set Up Guide
Trial Access
Question | Answer |
---|---|
Offers free trial? | Yes. LoyaltyLion offers a free trial for new customers. Sign up at https://loyaltylion.com/. |
Requires paid sandbox | No. You can use the trial account for development and testing. |
Requires partnership to obtain authentication? | Yes, for OAuth integrations. You must register as a LoyaltyLion Partner to create multi-store OAuth apps. |
Authentication (OAuth 2.0)
For customers who want to completely whitelabel their OAuth experience, you can provide your own developer keys instead of using Alloy Automation’s. LoyaltyLion’s OAuth 2.0 flow is designed for partner applications that integrate across multiple merchant stores.Register as a LoyaltyLion Partner
- Contact LoyaltyLion Partner Support at partnersupport@loyaltylion.com
- Provide your application details:
- Application name
- Description of your integration
- Company information
- Expected use case and merchant benefits
- Technical contact information
- Receive OAuth credentials from LoyaltyLion:
- Client ID
- Client Secret
- Authorization endpoint details
Configure OAuth settings
- Set up your redirect URI:
https://api.runalloy.com/api/strategy/connector/loyaltylion/callback
- Select required scopes:
read_customers
- Read-only access to customers, points, tiers, rewards, and activitieswrite_customers
- Full access to update customersread_orders
- Read-only access to orderswrite_orders
- Full access to create, update, or cancel ordersread_unsubscribes
- View unsubscribed emailswrite_unsubscribes
- Modify unsubscribe list
- Configure your OAuth credentials in Alloy Automation
API Documentation
- LoyaltyLion API Base URL: https://api.loyaltylion.com/v2
- Partner Program: Contact partnersupport@loyaltylion.com
- API Documentation: https://developers.loyaltylion.com/
Use Cases
1) Loyalty program synchronization
Sync customer loyalty points, tier status, and rewards from LoyaltyLion to your CRM, data warehouse, or customer analytics platform for unified customer insights.2) Cross-platform points earning
Enable customers to earn LoyaltyLion points for activities outside your e-commerce store, such as social media engagement, referrals, or app usage, by creating orders or activities via the API.3) Personalized marketing campaigns
Use LoyaltyLion customer data (points balance, tier, reward history) to create targeted marketing campaigns and personalized offers based on loyalty program engagement.4) Reward redemption workflows
Automate reward redemption processes by integrating LoyaltyLion with your order management system, automatically applying discounts or benefits when customers reach reward thresholds.5) Customer retention analytics
Pull LoyaltyLion program participation and engagement data into analytics platforms to measure the ROI of your loyalty program and identify at-risk customers.API Gotchas
- Partner-only OAuth: LoyaltyLion’s OAuth 2.0 flow is exclusively for partner applications that integrate across multiple merchant stores. If you’re building an integration for a single store, you should use API tokens instead of OAuth. Contact LoyaltyLion support to determine the right authentication method for your use case.
- Registration process: Becoming a LoyaltyLion Partner requires submitting an application and approval from LoyaltyLion. This process can take time, so plan accordingly and reach out to partnersupport@loyaltylion.com early in your development cycle.
- Scope requirements: Carefully select only the scopes your application needs. Requesting write access (
write_customers
,write_orders
) requires additional justification during partner registration. Start with read-only scopes for initial development. - Rate limiting: LoyaltyLion enforces rate limits on API requests. The specific limits depend on your partner agreement and merchant plan. Implement exponential backoff and monitor rate limit headers to avoid throttling.
- Multi-tenant architecture: Since OAuth is designed for partner apps serving multiple merchants, ensure your application properly handles multi-tenancy, storing separate access tokens for each merchant and routing API requests to the correct merchant account.
- Token management: Access tokens may expire. Implement proper token refresh logic to maintain uninterrupted API access across all connected merchant accounts.
- API versioning: LoyaltyLion’s API is versioned (currently v2 at
/v2/
). Pin your integration to a specific version and test thoroughly before upgrading to newer versions.
For questions or troubleshooting, contact support@runalloy.com.