Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi all,
I'm working on integrating the GraphQL Storefront API into a custom sitefront and have run into a potential roadblock regarding users requesting a reset of their password. The documentation here shows that customerRecover is supposed to be defined, however when looking at the schema definition via GraphiQL I get "Field 'customerRecover' doesn't exist on type 'Mutation." Any thoughts? Thanks in advance.
Hey there,
Are you able to try this out with a cURL request instead of the GraphiQL app? That should help narrow things down a bit. Let me know how it goes!
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hey Josh, I appreciate the response. Just wanted to let you know that this is totally user-error as, in my request, I was querying https:///my-shop.myshopify.com/admin/api/graphql instead of the proper storefront API endpoint.Notice the appending of /admin to the request? That's what happens when you try testing two APIs at once and don't split the tests out well...
Thanks for your patience and understanding.
Hey again,
Thanks for getting back to me to let me know - believe me, I've been there more than once myself. Totally understandable. Glad you got it sorted!
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog