API reference

Identify a customer

Update a customer's attributes and custom fields.

POST/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

myshopifyDomainstringrequired
The shop's *.myshopify.com domain.
appstring
Optional. Your app's slug. The X-Api-Key already identifies the app; if you send this, it must match.
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. A null value unsets the field. Database-linked fields are skipped (their SQL query is the source of truth).

Returns

200Updated; the body lists what changed.
400myshopifyDomain missing.
401Bad or missing X-Api-Key.

On this page