Shopify customer API tutorial (2026): create customers from your own Shopify app with the GraphQL Admin API - name, email, phone, address, tags and email marketing consent - then search them, edit tags, build a customer segment with a ShopifyQL query, and delete customers (and why some can't be deleted). Shopify app development series, episode 14 - everything shown is real, nothing skipped.
What you'll learn
Scope write_customers + protected customer data
customerCreate (+ marketing consent)
Customer search: tag:vip
customerUpdate tags
segmentCreate + customerSegmentMembers
6 real errors
π» Free source code for this episode: https://github.com/fayyaz315/shopify-app-development-2026/tree/ep14
3 quick fixes from this episode
Shopify Create Customer API: 5 Errors You'll Hit (and the Fixes)
Shopify create customer API (2026-10), five real errors: email already taken, email invalid, phone invalid, no name/email/phone at all, and a customer with orders can't be deleted.β¦