Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

371
Views
¿Cómo hacer una consulta de ShopifyQL?

Shopify anunció recientemente ShopifyQL para facilitar el acceso a los datos analíticos. Sin embargo, no tengo claro cómo hacer una llamada de ShopifyQL. Incluyen un ejemplo .

 { # "FROM sales SHOW total_sales BY month SINCE -1y UNTIL today" passes a ShopifyQL query to the GraphQL query. shopifyqlQuery(query: "FROM sales SHOW total_sales BY month SINCE -1y UNTIL today") { __typename ... on TableResponse { tableData { rowData columns { # Elements in the columns section describe which column properties you want to return. name dataType displayName } } } # parseErrors specifies that you want errors returned, if there were any, and which error properties you want to return. parseErrors { code message range { start { line character } end { line character } } } } }

Sin embargo, el uso de la herramienta GraphiQL para ejecutar la consulta genera varios errores:

 { "errors": [ { "message": "Field 'shopifyqlQuery' doesn't exist on type 'QueryRoot'", "locations": [ { "line": 3, "column": 3 } ], "path": [ "query", "shopifyqlQuery" ], "extensions": { "code": "undefinedField", "typeName": "QueryRoot", "fieldName": "shopifyqlQuery" } } ] }

También intenté hacer una llamada autenticada con la consulta de ejemplo anterior usando el servidor Node de mi aplicación, pero me encontré con los mismos problemas.

¿Que me estoy perdiendo aqui?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!