Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

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