Ecommerce Integration
Shopify
Award points on orders, trigger referrals, and surface loyalty in your Shopify store.
About this integration
Shopify + UseLoyalty
Shopify is the most popular ecommerce platform for DTC brands. UseLoyalty integrates via Shopify webhooks and native Shopify app extension blocks so customers can see their points, spin a wheel, or redeem rewards without leaving your storefront.
Webhook endpoint
Configured in UseLoyalty dashboard
https://app.useloyalty.app/api/webhooks/shopify/{program-id}
This URL is generated for your account in the UseLoyalty dashboard. Each integration has its own signed endpoint.
Setup guide
Connect Shopify in minutes.
Follow the steps below to wire Shopify webhooks into your UseLoyalty program. No code required.
Install the UseLoyalty Shopify app
Search for UseLoyalty in the Shopify App Store and install it. The app automatically registers the required webhooks and requests the necessary API scopes.
Connect your loyalty program
After install, open the UseLoyalty app inside Shopify Admin. Select your loyalty program from the dropdown and click Connect.
Add the loyalty widget block
Go to Shopify Admin → Online Store → Themes → Customize. Add the UseLoyalty App Block to your product pages, cart, or account pages using the theme editor.
Configure points-per-order rules
In UseLoyalty Dashboard → Campaign Builder, create an order rule. Set points per currency unit, minimum order value, and any product or collection exclusions.
Set up the product points banner (optional)
Enable the points banner block in the theme editor to show members how many points they will earn on each product page before checkout.
Test with a Shopify test order
Place a test order using Shopify's bogus gateway and confirm points are awarded in the UseLoyalty member activity log.
Webhook events
Events to subscribe to.
Subscribe to these events in your Shopify dashboard when creating the webhook. UseLoyalty maps each event to your campaign rules automatically.
orders/paidFires when an order payment is captured. Primary trigger for purchase points.
orders/fulfilledFires when an order is marked fulfilled — alternative trigger for physical goods.
orders/cancelledFires when an order is cancelled — optionally reverses awarded points.
refunds/createFires on refund creation — useful for deducting points on refunded orders.
customers/createFires when a new customer account is created — trigger a welcome points bonus.
Get a tailored walkthrough
Ready to build
loyal customers?
Tell us a bit about your shopify loyalty program and we'll show you exactly how UseLoyalty can work for you.
- Live demo tailored to your shopify loyalty program
- Setup walkthrough, live in under 10 minutes
- Pricing advice based on your location count
FAQ
UseLoyalty