4
0
forked from crowetic/commerce
commerce/framework/swell/utils/queries/get-customer-query.ts
2021-03-02 21:05:13 -06:00

17 lines
335 B
TypeScript

export const getCustomerQuery = /* GraphQL */ `
query getCustomer($customerAccessToken: String!) {
customer(customerAccessToken: $customerAccessToken) {
id
firstName
lastName
displayName
email
phone
tags
acceptsMarketing
createdAt
}
}
`
export default getCustomerQuery