Customers, portal & team
Two kinds of people: those you serve, and those who run the platform.
Updated
On this page
Customers
Platform customers are their own identity — separate from any storefront's shoppers. PII is encrypted at rest and email is looked up by hash. Customers are archived, never deleted: deactivating one refuses login and token resolution immediately, revoking any session already open.
Portal auth
const { token, customer } = await dash.portal.login(email, password);
const me = await dash.portal.me();