Object
Merchant APIcustomer
A customer in the shop directory.
Returned by Merchant API customer endpoints. Used by POS customer attach and Admin → Customers.
Exposure
Returned by Merchant API list/detail routes for this resource.
What
The customer object is the JSON / domain shape for this resource in RetailLink.
Why
Use these fields when integrating — not scraped Admin HTML — so sync jobs and apps stay stable across UI changes.
How
Read each property below — description first, then that property's Code / Data / Output (or type). Use the sticky example JSON on the right as a full fixture.
Properties
9 fields on customer. Types link to related objects when available. Snippets for a property appear under that property.
id
stringUnique customer id.
id: stringCustomer email.
email: string | nullfirstName
string | nullFirst name.
firstName: string | nulllastName
string | nullLast name.
lastName: string | nullphone
string | nullPhone number.
phone: string | nullstoreCreditBalance
numberStore credit balance (detail response).
storeCreditBalance: number_count
objectAggregates such as `{ orders: number }` on detail responses.
_count: objectcreatedAt
stringISO-8601 created timestamp.
createdAt: stringupdatedAt
stringISO-8601 updated timestamp.
updatedAt: string