how to write an example of calling ShopifyQL on the Shopify App Bridge?

Solved
Highlighted
Tourist
5 0 2

According to the sample implementation of the document, an error will be prompted after execution, how to call it reasonable!

Write the following code in the pages folder:

{562FE344-4BE6-4F06-9952-266A11F4265F}_20200714141238.jpg

The error message returned is as follows:

{85AE0A8D-46B3-493E-BA6E-58F8462A5883}_20200714141254.jpg

 

 
 
 
 

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
45 7 13

This is an accepted solution.

Hi @yehony, unfortunately ShopifyQL isn't supported in App Bridge. Could you kindly point me to the documentation that you're following, so that I can help clarify/correct the information? Thank you!

0 Likes
Highlighted
Tourist
5 0 2

Excuse me, I have another question here. Is ShopifyQL have any other solutions besides executing on embedded applications, such as access_token?

1 Like
Highlighted
Shopify Staff
Shopify Staff
45 7 13

I'm not sure I understand what you mean by `access_token`, are you referring to your embedded app's access token, or something specific to ShopifyQL? From my understanding, another way to use ShopifyQL to generate reports is to use the REST API: https://shopify.dev/docs/admin-api/rest/reference/analytics/report?api[version]=2020-07 Might this be what you are looking for?

0 Likes
Highlighted
Tourist
5 0 2

 

1 Like