Skip to content
Reponse.ai LogoDocs
DocsAPISDKsGuides

Search Documentation

Search for an article...

Getting Started

  • Overview
  • Architecture
  • Installation
  • Authentication
  • First Request

Products & Collections

  • Products — List
  • Products — Get
  • Products — Metafields
  • Collections — List
  • Collections — Get
  • Collections — Products

Cart & Checkout

  • Cart — Create
  • Cart — Get
  • Cart — Add Item
  • Cart — Update Item
  • Cart — Remove Item
  • Cart — Apply Promotion
  • Checkout — Stripe
  • Checkout — Payment Intent
  • Checkout — ACP

Orders & Fulfillment

  • Orders — Create
  • Orders — Get
  • Orders — Confirm
  • Orders — Cancel
  • Orders — Fulfill
  • Orders — Refund

Commerce

  • Inventory — Get
  • Inventory — Update
  • Shipping — Rates
  • Discounts — List
  • Discounts — Create
  • Discounts — Validate
  • Subscriptions — Manage

Loyalty & Gift Cards

  • Loyalty — Balance
  • Loyalty — Redeem
  • Loyalty — Referral
  • Gift Cards — List
  • Gift Cards — Redeem

Tickets & Support

  • Tickets — List
  • Tickets — Create
  • Tickets — Reply

Platform

  • Product Feed — JSON
  • Product Feed — CSV
  • Theme — Get
  • Approvals — Execute
  • Approvals — Reject
  • Geocode

SDKs

  • SDK Overview
  • TypeScript SDK
  • React Hooks

Guides

  • Chat Widget
  • Shopify Sync
  • Storefront Starter
  • Loyalty Program
  • Discounts & Promotions
  • Subscriptions
  • Klaviyo Integration
  • Custom Domains
  • Agentic Commerce (ACP)
  • A2A Protocol
  • AI Engines
  • MCP Server

Webhooks

  • Webhooks Overview
  • Events Reference
  • Shopify Webhooks
  • Stripe Webhooks
  • Reviews (Stamped / Trustpilot)
  • Logistics
  • Email Inbound

Resources

  • Environment Variables
  • Rate Limits
  • Changelog
DocsGuidesShopify Sync

Shopify Sync

Sync your Shopify catalog into Reponse.

2 min read/Last updated Jul 22, 2026
On this page

Overview

Reponse syncs products, variants, collections, and inventory from your Shopify store. The initial sync imports your full catalog, and webhooks keep everything up to date in real time. Product handles are preserved from Shopify and collections are upserted on `workspace_id, handle`.

Prerequisites

  • A Shopify store with the Reponse app installed, or a custom Shopify app with the required scopes
  • A Reponse workspace

Step 1 — Connect Your Store

  1. Go to Dashboard → Settings → Integrations → Shopify.
  2. Enter your Shopify store domain (e.g. your-store.myshopify.com).
  3. Click Connect — you will be redirected to Shopify to authorize the app.
  4. After authorization, Reponse stores your access token securely (encrypted at rest).

Step 2 — Run the Initial Sync

Once connected, click **Sync Now** in the dashboard. The initial sync fetches all products, variants, images, and collections via the Shopify Admin GraphQL API.

bash
# You can also trigger a sync via the API
curl -X POST "https://api.reponse.ai/v1/shopify/sync" \
  -H "Authorization: Bearer rp_live_abc123..." \
  -H "Content-Type: application/json" \
  -d '{ "workspaceId": "ws_01H..." }'

Step 3 — Configure Webhooks

Reponse automatically registers webhooks with Shopify when you connect your store. The following events are listened to:

Webhook TopicAction in Reponse
products/createCreates product and variants.
products/updateUpdates product data, images, and variants.
products/deleteSoft-deletes the product.
collections/createCreates the collection.
collections/updateUpdates collection metadata.
inventory_levels/updateUpdates stock quantities.

Webhooks are verified using HMAC-SHA256 with your `SHOPIFY_WEBHOOK_SECRET`. Set this environment variable on your server:

bash
SHOPIFY_WEBHOOK_SECRET=your_shopify_webhook_secret

What Syncs

DataFields
ProductsTitle, description, handle, status, images, tags, vendor, product type
VariantsSKU, barcode, price, compare-at price, inventory quantity, option values
CollectionsTitle, handle, sort order, image
InventoryStock levels per variant per location

Data Flow

Shopify Store
  ↓ (webhook or manual sync)
Reponse API  →  /api/shopify/webhooks/[workspaceId]
  ↓
Supabase (products, product_variants, collections tables)
  ↓
AI Engine (RAG, product facts, knowledge sources)

Configuration

Environment VariableRequiredDescription
SHOPIFY_WEBHOOK_SECRETYesHMAC secret for webhook verification.

Troubleshooting

IssueSolution
Products not appearing after syncCheck that the products are active in Shopify (draft products are skipped).
Webhook events not arrivingVerify the webhook URL is reachable and HMAC secret matches.
Duplicate productsProducts are upserted on workspace_id, shopify_product_id — duplicates indicate a workspace mismatch.
Variants missingEnsure variants have a SKU or barcode set in Shopify.
Stale inventory dataConfirm inventory_levels/update webhook is registered and not failing.
PreviousChat Widget
NextStorefront Starter