Analytics > Analytics > analyticsCustomReport
Commerce APIAnalyticsAnalyticsanalyticsCustomReport
analyticsCustomReport
POST:analytics/custom_report.json

Description

Execute or analyze custom SQL query.

Permission bit: "analytics.read"

Topic: Analytics

Arguments

analyze_only: Boolean

Analyze only, don't execute


data: AnalyticsQuery!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

query: String!


variables: [KeyValueCreate!]!


Result

AnalyticsReport

Preview (typescript)

Loading module