> For the complete documentation index, see [llms.txt](https://popin.gitbook.io/popin-developer-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://popin.gitbook.io/popin-developer-hub/how-to-integrate-popin-sale-tracking-with-shopify-using-webhooks.md).

# How to Integrate Popin Sale Tracking with Shopify Using Webhooks

Integrating **Popin sale tracking** with your Shopify store allows you to capture order creation events and send real-time data to Popin using **Shopify webhooks**. This guide walks you through configuring the webhook to enable seamless data synchronization.

***

### Prerequisites

Before you begin, ensure you have:

* Admin access to your Shopify store
* Access to your Popin Dashboard
* Your **Seller ID** from Popin (found under **Integrations**)

***

### Step-by-Step Integration Guide

#### Step 1: Access Shopify Settings

1. Log in to your Shopify Admin panel.
2. From the left-hand menu, click **Settings**.

***

#### Step 2: Open Notifications

1. In the **Settings** page, select **Notifications**.
2. Scroll down to the **Webhooks** section.

***

#### Step 3: Create a New Webhook

1. Click **Create webhook**.
2. Configure the webhook with the following values:

| Field                   | Value                                                       |
| ----------------------- | ----------------------------------------------------------- |
| **Event**               | Order creation                                              |
| **Format**              | JSON                                                        |
| **URL**                 | `https://widget01.popin.to/api/v1/shopify/<seller_id>/sale` |
| **Webhook API version** | `2025-10` (Latest)                                          |

> 🔹 Replace `<seller_id>` with your actual **Seller ID** from the Popin Dashboard.

***

#### Step 4: Save the Webhook

1. Review the webhook configuration.
2. Click **Save** to activate the webhook.

Once saved, Shopify will begin sending order creation events to Popin automatically.

***

### Final Notes

* No additional code installation is required on your storefront.
* Popin will start receiving order data as soon as the webhook is active.
* You can manage this webhook at any time from **Settings → Notifications → Webhooks** in Shopify.
