Skip to content

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.

appstringrequired
Your app’s slug.
myshopifyDomainstringrequired
The shop’s *.myshopify.com domain.
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.
200Updated; the body lists what changed.
400app or myshopifyDomain missing.
401Bad or missing X-Api-Key.