customerAccessTokenCreate doesn't exist on type "Mutation"

New Member
3 0 0

Hi,

 

currently I am using the Shopify GraphiQL App to explore & play around with the Storefront API. When I am trying to authenticate a User with the customerAccessTokenCreate method, I get the following error message:

 

Field 'customerAccessTokenCreate' doesn't exist on type 'Mutation'

I have also noticed, that the Docs tab at the right of the App doesn't contain this method as well - however it's described in the official Shopify API documentation: https://help.shopify.com/en/api/storefront-api/reference/mutation/customeraccesstokencreate

 

Any help?

 

Thanks,

Jan B.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1041 140 167

Hey @JMB25,

 

The Shopify GraphiQL App runs queries against the GraphQL Admin API (not the Storefront API). 

Notice; Out of office, replies will be delayed until my return. Thanks!
1 Like
Highlighted
Shopify Partner
15 0 0

Sorry if this is too late but I have been playing around with the API's since the new year

 

What you will need to is to use a graphql client link insomnia or postman.

Then follow this guide....

https://help.shopify.com/en/api/storefront-api/getting-started#accessing-the-storefront-api-graphql-...

 

Hope this helps!

0 Likes