Trying to get markets through GraphQL API

Trying to get markets through GraphQL API

rizwanAslam098
Shopify Partner
5 0 0

Hello,

I'm trying to get markets from the store through GraphQL API. But there is an error returned. Here is my query and response against that query.

ss.png

 

Did anyone find this issue and did you got any solution??
Any help will be appreciated. Thanks in advance

Replies 4 (4)
rizwanAslam098
Shopify Partner
5 0 0

Hi @Dami_wonder  Thanks for your reply
So is there something wrong with the query or what is actually the problem.

 

devmenskin
Shopify Partner
4 0 0

Query seems to be ok. The problem is:

Graphql returns "INTERNAL_SERVER_ERROR" instead of returning markets list.
I have the same issue

devmenskin_0-1662118515716.png

 

devmenskin
Shopify Partner
4 0 0

@rizwanAslam098 
Found the reason
Provide access to "Shopify Markets" at your application permissions

devmenskin_0-1662120680990.png

 

rizwanAslam098
Shopify Partner
5 0 0

@devmenskin 
Hi Thanks for your response 
Can you please elaborate where we can add that access??