Skip to main content

AnalyticsExportCSV

Generate analytics CSV export and return a signed download URL. The URL provides direct access to the file in cloud storage.

type AnalyticsExportCSV {
downloadUrl: String
filename: String
rowCount: Int
errors: [AnalyticsExportError!]!
}

Fields

AnalyticsExportCSV.downloadUrl ● String scalar

Signed URL for downloading the CSV file. Expires in 1 hour.

AnalyticsExportCSV.filename ● String scalar

Filename of the export (e.g., 'analytics_orders_20240101.csv')

AnalyticsExportCSV.rowCount ● Int scalar

Number of data rows in the export (excluding header)

AnalyticsExportCSV.errors ● [AnalyticsExportError!]! non-null object

Errors that occurred during the mutation

Returned By

analyticsExportCsv mutation

Was this page helpful?