Skip to main content

Shopify

Solomon Jackson avatar
Written by Solomon Jackson
Updated over a week ago

Quick Summary

This article explains how to integrate Shopify with Loyaltify. By creating a webhook for order events, you can sync online purchase data from Shopify to Loyaltify and reward customers with points for each purchase.

🟑 Please note: Points earned through Shopify purchases can only be redeemed in physical stores β€” not for online orders.


Overview

Integrating Shopify with Loyaltify allows your customers to earn loyalty points automatically when they make purchases through your online store. This is ideal for syncing e-commerce activity with your physical store loyalty program.

This setup enables:

  • Automatic point assignment after each Shopify order.

  • Centralized customer tracking between online and offline stores.

  • No additional app installation required in Shopify.

However, reward redemption is available only in-store.


How It Works

Loyaltify uses a webhook to capture order events from Shopify. When a new order is created, Shopify sends an HTTP request to Loyaltify with the order data. That data is then processed and points are added to the associated customer's loyalty card.


Connecting Shopify in Loyaltify

Follow these steps to and connect your Shopify account:

  1. Log in to your Shopify admin dashboard.

  2. Navigate to Settings on the left bottom and click Notifications.

  3. Find the Webhooks section.

  4. Click Create Webhook.

  5. Configure the webhook as follows:

    • Event: Order creation

    • Format: JSON

    • URL: https://api.loyaltify.io/v1/webhooks/shopify/

    • Webhook API version: 2025-07 (Latest)

  6. Click Save to activate the webhook.

  7. Find your shopify domain on the top left corner. (example.myshopify.com in the screenshot)

  8. Find your webhook secret under the webhooks section (3d2334419e6d828e394c652c86f2eb07db44c9645168c4a0c234ac7f84eaeec1iin the screenshot)

Then, in Loyaltify:

  1. Navigate to Integrations > Shopify.

  2. Paste the domain into the Shop Domain field.

  3. Click Connect to move next step.

  4. Click Configure to Shopify.

  5. Enable Customer Integration by pressing the toggle.

  6. Select the loyalty card to assign and paste the webhook secret into the Webhook Secret field.

Once set up, every new order will trigger a webhook that sends order details to Loyaltify. Customers will be identified based on email address or phone number and awarded points according to your loyalty card settings.

Did this answer your question?