Solved

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

yehony
Tourist
5 0 4

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

 

 
 
 
 

 

Accepted Solution (1)

hannachen
Shopify Staff
54 8 17

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!

Hanna | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 5 (5)

hannachen
Shopify Staff
54 8 17

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!

Hanna | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

yehony
Tourist
5 0 4

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

hannachen
Shopify Staff
54 8 17

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?

Hanna | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

yehony
Tourist
5 0 4

 

Ruzen1
Tourist
4 0 0

Hey, @yehony Am very interested in your question.Please inform me too if you have somehow figured it out.
Your help will be highly appreciated.

@hannachen Help us if possible ,please