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).
Parameters
Section titled “Parameters”shopDomain
Section titled “shopDomain”string
accessToken
Section titled “accessToken”string
Returns
Section titled “Returns”Promise<CustomerData>