A Customer Access Token (Documentation Index
Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt
Use this file to discover all available pages before exploring further.
cust_…) represents a logged-in shopper.
It’s scoped to one customer within one merchant; you cannot use a
customer token across merchants.
Get one
POST /api/storefront/customer/register.
Use it
Customer tokens go in theAuthorization header alongside the
storefront token. The merchant-tier token identifies the tenant; the
customer token identifies the shopper within that tenant.
What it permits
| Endpoint family | Verbs |
|---|---|
/customer/me | GET, PATCH |
/customer/me/orders | GET (list, detail) |
/customer/me/addresses | GET, POST, PATCH, DELETE, set-default |
/customer/me/agent-consent | GET, POST (approve/deny) |
/customer/me/agents | GET (list), DELETE (revoke), audit |
Lifetime
Customer tokens are short-lived (default: 24 hours) and renewable viaPOST /api/storefront/customer/token/renew. Renewal rotates the value
and extends the expiry; the old value is revoked immediately.
Revocation
Three paths:- Customer logs out —
POST /customer/logoutrevokes the current token. - Customer revokes a session — from the dashboard’s “Active sessions” panel (Phase 3-A).
- Merchant revokes a session — same panel, merchant-side.
Account lockout
After repeated failed login attempts the account locks. The dashboard’s customer detail page shows lockout state; the Reset failures button clears it.Recovery flow
202 whether or not the email exists —
ghost-account probing is not possible.