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

seongwan
Visitor
1 0 0

I am using 2021-10 version . but

 

it return error  Field 'cartCreate' doesn't exist on type 'Mutation'

this is my code. 

 

seongwan_0-1642513123605.png

I don't know why this error occurs... somebody helps me 😞

 

 

 

Reply 1 (1)

Yasuhiro
Shopify Partner
3 0 0

you have already resolved the problem. but for anyone having the same problem.

I had same problem. you may use admin API.

It is storefront API. so please make sure you use.

https://{{shop}}/api/{{api-version}}/graphql.json