Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello Shopify Community members.
Hope you are doing well.
I am now using ShopifyQL to get analytical data from shopify.
I followed shopifyQL docs from here
But the example query is also not working.
{ shopifyqlQuery( query: "FROM orders SHOW sum(net_sales) AS monthly_net_sales GROUP BY month SINCE -3m ORDER BY month" ) { __typename ... on TableResponse { tableData { unformattedData rowData columns { name dataType displayName } } } parseErrors { code message range { start { line character } end { line character } } } } }
I got empty result.
{ "data": { "shopifyqlQuery": { "__typename": "TableResponse", "tableData": { "unformattedData": [], "rowData": [], "columns": [ { "name": "month", "dataType": "month", "displayName": "Month" }, { "name": "monthly_net_sales", "dataType": "price", "displayName": "Monthly net sales" } ] }, "parseErrors": null } }, "extensions": { "cost": { "requestedQueryCost": 7, "actualQueryCost": 4, "throttleStatus": { "maximumAvailable": 1000, "currentlyAvailable": 996, "restoreRate": 50 }
If anybody has an idea about it, please let me know.
PS: If anyone knows how to get analytical data from shopify without shopifyQL, I will be really appreciate your help.
Thank you so much.
Were you able to figure out a good workaround for this?
I'm running into basically the same issues and trying to figure out a solution for this (probably not using ShopifyQL)
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024