commerce/framework/shopify/utils/mutations/customer-acces-token-create.ts
2021-02-05 00:02:39 +02:00

17 lines
398 B
TypeScript

const customerAccessTokenCreateMutation = /* GraphQL */ `
mutation customerAccessTokenCreate($input: CustomerAccessTokenCreateInput!) {
customerAccessTokenCreate(input: $input) {
customerAccessToken {
accessToken
expiresAt
}
customerUserErrors {
code
field
message
}
}
}
`
export default customerAccessTokenCreateMutation