Skip to content

byProduct

Sales, and optionally attendance and scans, for each product given.

analytics {
byProduct(
includeAttendance: Boolean
includeScans: Boolean
lastScanMinutes: Int
productIds: [Guid!]!
): [AnalyticsByProduct!]
}

Include attendance and capacity by segment and entrance. False by default.

Include scans per minute. Needs includeAttendance. False by default.

How far back to count scans, in minutes. Only with includeScans; by default the last 24 hours.

The products to report on.

A product’s sales and, when asked for, its attendance and scans.