Skip to main content

appActivityDrilldown

Requires permission analytics:sales:read.

The customers or products behind one app activity number, one page at a time, over a date range. Needs the sales analytics read permission.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query AppActivityDrilldown($input: AppActivityDrilldownInput!, $range: AnalyticsRangeInput!) {
appActivityDrilldown(input: $input, range: $range) {
baseCurrency
hasMore
metric
offset
total
rows {
orderNumber
customerName
productName
variantName
at
count
}
}
}

Variables:

{
"input": {
"metric": "ACTIVE_CUSTOMERS"
},
"range": {
"from": "2025-01-15T00:00:00Z",
"to": "2025-01-15T00:00:00Z"
}
}

Response:

{
"data": {
"appActivityDrilldown": {
"baseCurrency": "string",
"hasMore": true,
"metric": "ACTIVE_CUSTOMERS",
"offset": 0,
"total": 0,
"rows": [
{
"orderNumber": "string",
"customerName": "string",
"productName": "string",
"variantName": "string",
"at": "2025-01-15T00:00:00Z",
"count": 0
}
]
}
}
}
appActivityDrilldown(
input: AppActivityDrilldownInput!
range: AnalyticsRangeInput!
): AppActivityDrilldownPage!

Arguments​

appActivityDrilldown.input ● AppActivityDrilldownInput! non-null input​

Which number to drill into, plus paging.

appActivityDrilldown.range ● AnalyticsRangeInput! non-null input​

The date range and, optionally, the visibility scope.

Type​

AppActivityDrilldownPage object​

A page of the rows behind a figure.