> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hoppyapps.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 👤 What Customer Data Syncs to Shopify from Appointment Bookings

When a customer books through Hoppy Appointments, does a customer record appear in Shopify? Which details are copied there? 👤

This guide explains exactly what the app creates or updates in your Shopify customer list, and when it does not.

---

# **🧭 What Syncs to Shopify**

When a booking is created and an **email address** is available, the app looks for a Shopify customer with that email:

* **No match** → a new customer is created  
* **Match found** → the existing customer is updated

Only these four details are sent:

| Detail | Source |
| ----- | ----- |
| First name | The **First name** question |
| Last name | The **Last name** question |
| Email | The **Email** question (saved in lowercase with leading and trailing spaces trimmed, so the same address is matched to one customer) |
| Phone | The **Phone** question, only if the customer entered one |

Nothing else from the booking form is copied to the Shopify customer. Custom question answers, notes and booking details stay on the booking in the **Bookings** page.

---

# **🛒 Where This Happens**

The customer sync runs for:

* Bookings made on your **storefront** (free and paid)  
* Bookings created by your team in **Shopify POS**  
* Bookings created through the **Partner API**

---

# **⚠️ When No Customer Is Created**

* **No email address.** The sync only runs when there is an email. Without one, no customer is created or updated.  
* **Manual bookings from the admin.** When you add a booking in the app's admin, the **Create the Shopify customer** option is **off** by default. Tick it if you want a customer record. See **How to add a Manual Booking**.  
* **Partner API bookings with the option turned off.** An external app can choose not to create customers.

---

# **📞 What If the Phone Number Is Already Used?**

Shopify allows each phone number to belong to only one customer. If the phone is already on another customer record, the app saves the customer **without the phone** instead of failing. The booking still keeps the phone number in its own details.

---

# **🔗 Customers and Shopify Flow**

Every Shopify Flow trigger from the app carries the Shopify customer that matches the booking's email (when one exists), so you can use actions like **Add customer tags**. The app itself does not add tags to your customers. See **How Does Appointment Bookings Work with Shopify Flow**.

---

# **✅ Expected Result**

After a booking:

* The customer appears in **Customers** in your Shopify admin with their name, email and phone (when given)  
* A returning customer's record is updated, not duplicated

---

# **⚠️ Important Notes**

* **Existing names are overwritten.** If a returning customer enters a different first or last name, the Shopify record is updated with the newest values.  
* **Paid bookings also create customers in Shopify checkout.** That part is handled by Shopify's normal checkout, not by the app.  
* **Marketing consent is not set by the app.** Use your normal Shopify sign-up forms or checkout settings for that.

---

# **🐞 Troubleshooting**

## **A customer is missing in Shopify**

Check that the booking had an email address, and that it was not a manual booking with **Create the Shopify customer** left off.

## **The phone number is missing on the Shopify customer**

The phone may already belong to another customer record. The booking in **Bookings** still shows it.

## **A customer was updated with a different name**

The latest booking's first and last name replace the old values. This is expected.

---

# **🎉 Final Result**

✅ Booking customers show up in Shopify with name, email and phone  
✅ Returning customers are updated, not duplicated  
✅ You decide whether manual bookings create customers