run_shopifyql
Run custom ShopifyQL queries to retrieve analytics not covered by standard tools, enabling tailored sales, order, and performance reporting.
Instructions
Run a raw ShopifyQL query for custom analytics not covered by other tools. Example: FROM sales SHOW total_sales, orders TIMESERIES day SINCE -7d
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "run_shopifyql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Raw ShopifyQL query string |