> ## Documentation Index
> Fetch the complete documentation index at: https://spotzee.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# What syncs back to Shopify

> Push profile completions, email and SMS subscription changes, and engagement metrics from Spotzee back to Shopify customer records.

Sync isn't only one-way. The **Sync data to Shopify** section of your sync settings has four toggles that push data from Spotzee back into Shopify. Off by default. Opt in to each one.

> [!NOTE]
>
> Reverse sync writes to Shopify customer records and metafields. The connecting OAuth grant needs the required write permissions; reconnect if the integration reports missing scopes.

## The four toggles

### Sync profile data to Shopify

Fills in missing customer fields in Shopify with values you have in Spotzee.

* Phone number missing on a Shopify customer but present in Spotzee? It gets written.
* First name missing? Same.
* Last name missing? Same.

The rule that matters most: **this only fills in missing fields**. Spotzee never overwrites data that already exists in Shopify. If a phone number is set in Shopify, Spotzee leaves it alone, even if a different number is on the Spotzee user.

### Sync email subscription to Shopify

Pushes email consent changes from Spotzee back to Shopify. When a customer unsubscribes through a Spotzee email link or preference centre, the unsubscribe state propagates to Shopify so your store reflects the same state.

Use this when Shopify is your customer-record system of record and you want to keep both stores aligned without manual reconciliation.

### Sync SMS subscription to Shopify

Same for SMS. Opt-out keywords (`STOP`, `UNSUBSCRIBE`, etc.) handled by Spotzee on inbound SMS reply propagate back to Shopify.

### Sync engagement to metafields

Writes Spotzee engagement metrics onto Shopify customer metafields so your Shopify staff and other tooling can see them.

Metafields written:

* Last email delivery timestamp.
* Last email open timestamp.
* Last email click timestamp.
* Last SMS send timestamp.
* Email engagement score.

Useful for in-store staff who pull up customer records, or for downstream Shopify apps that act on engagement state.

## When to enable each

A few suggested patterns:

* **Shopify-first orgs** (Shopify is the source of truth for customer records): turn on all four. Keep both systems aligned.
* **Spotzee-first orgs** (Spotzee owns the customer record, Shopify just owns commerce): leave the profile-sync toggle off, turn the consent toggles on for compliance.
* **Compliance-conscious orgs**: at minimum turn on **Sync email subscription to Shopify** and **Sync SMS subscription to Shopify** so unsubscribes propagate back. Profile and engagement sync are optional.
* **Shopify metafield consumers**: turn on engagement sync if any Shopify app or storefront feature reads from those metafields.

## How updates flow back

Reverse sync runs in real time off Spotzee state changes:

* Profile updates are checked every 15 minutes.
* Subscription updates push when subscription state changes in Spotzee.
* Engagement metafields are updated nightly.

You don't need to schedule reverse syncs. Toggle on, and writes flow.

## When permissions matter

If a reverse sync fails with a missing-scope error, reconnect to approve the integration's current permissions. The initial connection requests the available write scopes; enabling a toggle does not itself change the scope request.

The store card shows **Reconnect required** when the granted scopes no longer match the integration's requirements.

## Next steps

> [card] [What syncs from Shopify](https://spotzee.com/docs/guides/shopify/data-from-shopify.md)
>
> The five categories pulling data into Spotzee.

> [card] [Sync settings](https://spotzee.com/docs/guides/shopify/sync-settings.md)
>
> Configure all toggles and start the initial sync.

> [card] [Subscription preferences](https://spotzee.com/docs/guides/subscription-preferences.md)
>
> How Spotzee tracks the consent state you're syncing back.

> [card] [Shopify overview](https://spotzee.com/docs/guides/shopify/overview.md)
>
> What the integration does, end to end.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.