MONEI / Shopify-api-node

Node Shopify connector sponsored by MONEI
https://monei.com/shopify-payment-gateway/
MIT License
940 stars 278 forks source link

customerRecover #637

Open Bek81 opened 8 months ago

Bek81 commented 8 months ago

Hi,

we have a big problem using mutation customerRecover; can someone help us, writing a practical example? We tried several ways including this const query = 'mutation customerRecover($email: String!) { customerRecover(email: $email) { customerUserErrors { code field message } } }'; const variables = { "email": 'test@test.com' } shopify .graphql(query, variables) ... ...

but there are always errors like "Field 'customerRecover' doesn't exist on type 'Mutation'" or "Variable $email is declared by customerRecover but not used".

Thanks a lot.

Benedetto