Shopifyql Query Response
Requires access scope.
A response to a ShopifyQL query.
Anchor to FieldsFields
- parseErrors ([String!]!)
- tableData (ShopifyqlTableData)
- Anchor to parseErrorsparse•[String!]!
Errors non-null A list of parse errors, if parsing fails.
- Anchor to tableDatatable•Shopifyql
Data Table Data The result in a tabular format with column and row data.
Anchor to QueriesQueries
- shopifyqlQuery (ShopifyqlQueryResponse)
- •query
Executes a ShopifyQL query to analyze store data and returns results in a tabular format.
The response includes column metadata with names, data types, and display names, along with the actual data rows. If the query contains syntax errors, then the response provides parse error messages instead of table data.
Read the ShopifyQL reference documentation for more information on how to write ShopifyQL queries.
- Anchor to queryquery•String!required
A ShopifyQL query string following the ShopifyQL syntax. Queries must include
to specify the data source (such assales,orders, orcustomers) andto select metrics and dimensions. Example:.
Arguments