Below is the query I am trying to run to generate customer token. Can somebody help me out?
Query runs successfully in Postman.
mutation Login($email: String!, $password: String!) {
generateCustomerToken(email: $email, password: $password) {
token
customer {
…CustomerFragment
}
}
}
fragment CustomerFragment on Customer {
email
firstname
lastname
mobilenumber
user_source
pushnotification
group_id
is_subscribed
pushnotification
}
[enter image description here](https://i.stack.imgur.com/iaKPi.png)
[enter image description here](https://i.stack.imgur.com/TB0G2.png)
[enter image description here](https://i.stack.imgur.com/RfLnO.png)
New contributor