Analytics > Analytics > analyticsCustomReportsCreate
Commerce APIAnalyticsAnalyticsanalyticsCustomReportsCreate
analyticsCustomReportsCreate
POST:analytics/custom_reports.json

Description

Save custom reports

Permission bit: "analytics.read"

Topic: Analytics

Arguments

data: AnalyticsCustomReportsCreate!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

data: String!


Result

AnalyticsCustomReports

Preview (typescript)

function analyticsCustomReportsCreate(
data: AnalyticsCustomReportsCreate
shop_id: string
): AnalyticsCustomReports | null