Skip to content

fetchCustomer

fetchCustomer(shopDomain, accessToken): Promise<CustomerData>

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

Fetch the current customer’s profile. The Customer Account API authenticates with the raw access token in the Authorization header (no “Bearer ” prefix).

string

string

Promise<CustomerData>