Skip to main content

totalCount

Accepts businessUnitId and/or businessUnitGroupId and provides a total count of Promotions for a given Business Unit or Business Unit Group.

One or both must be provided!

By default excludes DELETED Promotions. Might be changed if includeDeleted flag set to true.

totalCount(
businessUnitGroupId: String
businessUnitId: String
includeDeleted: Boolean
): Long!

Arguments

totalCount.businessUnitGroupId ● String scalar

totalCount.businessUnitId ● String scalar

totalCount.includeDeleted ● Boolean scalar

When set to true, DELETED Promotions will be also counted.

Type

Long scalar

The Long scalar type represents non-fractional signed whole 64-bit numeric values. Long can represent values between -(2^63) and 2^63 - 1.