commerce/framework/shopify/utils/queries/get-customer-id-query.ts

9 lines
214 B
TypeScript

export const getCustomerQuery = /* GraphQL */ `
query getCustomerId($customerAccessToken: String!) {
customer(customerAccessToken: $customerAccessToken) {
id
}
}
`
export default getCustomerQuery