> Source: https://help.wastenot.io/connectors/shopify

# Shopify

Connect your Shopify store to WasteNot to sync customer profiles, order history, and product interactions. This data powers audience segmentation so you can reduce wasted ad spend on existing customers.

## Prerequisites

Before connecting Shopify, make sure you have:

* A Shopify store with admin access
* Permission to create and manage apps for your store

## Creating a Shopify app

WasteNot connects via a custom Shopify app that you create for your store. This gives you full control over what data is shared. Follow along with the video or the steps below.

Open [Shopify setup in WasteNot](https://app.wastenot.io/integrations/connectors/new/shopify) and keep the form open. You'll need the redirect URL shown there when configuring your app.

[Video walkthrough](https://public-assets.wastenot.io/guides/shopify/master.m3u8)

1. Open the [Shopify Admin](https://admin.shopify.com/settings/apps) and select your store.

2. Click **Develop apps**.

3. Click **Apps** in the Shopify developer sidebar.

4. Click **Create app**, then **Create app manually**.

5. Configure the following settings:

   * **App name**: `WasteNot Integration`
   * **Version name**: `Init` (the name doesn't really matter yet)
   * **App URL**: `https://app.wastenot.io`
   * **Embed app in Shopify admin**: Uncheck
   * **Redirect URLs**: Copy the redirect URL from the Shopify setup form in WasteNot
   * **Use legacy install flow**: Check
   * **Scopes**: Paste this initial list, which leaves out `read_all_orders` until the version has been created:

   ```text
   read_analytics,read_assigned_fulfillment_orders,read_customer_events,read_cart_transforms,read_all_cart_transforms,read_channels,read_checkouts,read_customers,read_customer_data_erasure,read_customer_merge,read_draft_orders,read_fulfillments,read_gift_card_transactions,read_gift_cards,read_order_edits,read_orders,read_product_feeds,read_product_listings,read_products,read_reports,read_returns,read_shipping,read_shopify_payments_disputes,read_content,read_third_party_fulfillment_orders,customer_read_companies,customer_read_customers
   ```

6. Click **Create version**.

7. Replace the scopes with the full list below. Shopify does not allow all the required scopes during creation:

   ```text
   read_all_orders,read_analytics,read_assigned_fulfillment_orders,read_customer_events,read_cart_transforms,read_all_cart_transforms,read_channels,read_checkouts,read_customers,read_customer_data_erasure,read_customer_merge,read_draft_orders,read_fulfillments,read_gift_card_transactions,read_gift_cards,read_order_edits,read_orders,read_product_feeds,read_product_listings,read_products,read_reports,read_returns,read_shipping,read_shopify_payments_disputes,read_content,read_third_party_fulfillment_orders,customer_read_companies,customer_read_customers
   ```

8. Click **Release**, then **Release** again to save.

9. Go to **Overview** in the Shopify developer sidebar.

10. Copy the **Client ID** and **Client Secret** into the Shopify setup form in WasteNot.

> **Note:**
>
> All scopes are read-only. WasteNot never modifies your store data.

## Connecting to WasteNot

Once your Shopify app is set up:

1. Return to the [Shopify setup form](https://app.wastenot.io/integrations/connectors/new/shopify) in WasteNot
2. Enter a **Name** (e.g., "My Shopify Store")
3. Enter your **Shopify Store Name** as it appears in your admin URL (`https://admin.shopify.com/store/your-store-name`)
4. Enter your **Client ID** and **Client Secret** from the app you just created
5. Click **Connect with Shopify**
6. Click **Install** on the Shopify authorization screen

WasteNot will begin syncing your store data automatically. The initial sync may take some time depending on the size of your store.

## What data is synced

* **Customers** — Customer profiles including email, name, and tags
* **Orders** — Order history including line items, totals, and fulfillment status
* **Products** — Product catalog for matching purchase behavior

## Relinking Shopify

If your Shopify connection becomes disconnected (e.g., the app was uninstalled or permissions changed), you can relink it:

1. Go to [Data Sources](https://app.wastenot.io/integrations) and click on your Shopify data source
2. Click **Relink**
3. You will be redirected to Shopify to re-authorize the connection

## Frequently asked questions

### How often does data sync?

Shopify data syncs continuously. After the initial full sync, WasteNot pulls incremental updates to keep your data current.

### Can I connect multiple Shopify stores?

Yes. Create a separate data source for each store. Each will sync independently.

### My data source shows "Failed" status

This typically happens when Shopify access has been revoked. Go to your Shopify admin and verify the WasteNot app is still installed, then relink it in WasteNot.

### I'm seeing a "Contains invalid scopes" error when creating the app

Use the **Initial access scopes** list when creating the version. It leaves out `read_all_orders`, which Shopify does not allow during creation.

After clicking **Create version**, replace it with the **Full access scopes** list, then click **Release** twice to save.

### Connecting fails with "OAuth error: missing_shopify_permission"

Not all required scopes were added to your Shopify app. Make sure you replaced the initial scopes with the **Full access scopes** list after creating the version, including `read_all_orders`, and released the updated version. Then try connecting again in WasteNot.
