Identify a customer
POST/api/v1/identify
Updates (or creates) a customer record with what your app knows: display name, contact email, and custom fields. Unknown custom fields create definitions automatically with inferred types.
Idempotent: resending the same payload is harmless. Database-linked custom fields are read-only here; pushes to them are skipped because their linked SQL query is the source of truth.
Body parameters
Section titled “Body parameters”appstringrequired- Your app’s slug.
myshopifyDomainstringrequired- The shop’s
*.myshopify.comdomain. namestring- Shop display name.
emailstring- Contact email; becomes the recipient for flows and campaigns.
customFieldsobject- Any keys; values may be text, number, boolean, or JSON. Unknown fields create definitions with inferred types.
Returns
Section titled “Returns”200Updated; the body lists what changed.
400
app or myshopifyDomain missing.401Bad or missing
X-Api-Key.