Skip to content

ReportGenerationState

The state of a report’s generation, and its file when it is ready.

type ReportGenerationState {
downloadName: String
downloadUrl: String
failureCode: Int
failureMessage: String
jobId: String @deprecated
previewUrl: String
rowCount: Int
status: ReportGenerationStatus!
warning: String
}

The file name to download the report as.

A link to download the report’s file.

The error code that says why the report could not be generated. Only with a FAILED status.

The message that says why the report could not be generated. Only with a FAILED status.

The job that generates the report. Always null.

A link to preview the report in a browser.

How many rows the report has.

Where the report’s generation stands.

A warning to show the user. The report still generated.

marketing.audiences.exportAudienceMembers mutation ● reports.customers.generate mutation ● reports.inventory.generate mutation ● reports.orderLines.generate mutation ● reports.payments.generate mutation ● reports.payouts.generate mutation ● reports.subTransactions.generate mutation ● reports.transactions.generate mutation

GeneratedMyReport object