Connect Shopify Store
Goal
Link a Shopify store to Nexus to automatically sync orders, customers, and fulfillment status.
Preconditions
- You have a Shopify store with admin access.
- You are an owner or admin of the Nexus organization.
Steps
- Navigate to Settings → Integrations → Shopify.
- Enter your Shopify store domain (e.g.,
mystore.myshopify.com). - Click Connect. Nexus requests the following Shopify Admin API scopes:
read_orders,write_ordersread_customersread_productsread_fulfillments,write_fulfillments
- Approve the permission request in Shopify.
- Nexus registers webhooks for
orders/create,orders/updated,customers/create, andcustomers/update. - Existing orders can be imported via an initial sync (Settings → Shopify → Run Initial Sync).
Expected result
- New Shopify orders appear automatically in the Nexus Orders module.
- Shopify customers are merged into the Nexus contact list via
crm-customer-resolver. - Fulfillment status updates in Nexus are pushed back to Shopify via
shopify-fulfill.
Common issues
| Issue | Resolution |
|---|---|
| Webhook registration failed | Verify the Shopify API key has write_orders scope; check Shopify Admin → Notifications → Webhooks. |
| Duplicate customers | crm-customer-resolver merges by phone number and email. Ensure customer records have at least one matching field. |
| Orders not syncing | Check that the Shopify webhook endpoint is reachable. Verify in Supabase Edge Function logs. |