Skip to content

RestoredCustomerSession

RestoredCustomerSession = object

Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/customer/restore.d.ts:3

A restored read-only session: the profile + the (still valid) access token.

accessToken: string

Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/customer/restore.d.ts:7

The cookie’s access token - valid at restore time; feed it to further Customer Account API calls within this request if needed.


customer: CustomerData

Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/customer/restore.d.ts:4