Skip to main content

commissionsCount

Requires permission commissions:commission:read.

Returns how many commission entries match the same filters and scope as commissions, ignoring paging, for a pager. Requires permission to read commissions.

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 CommissionsCount {
commissionsCount
}

Response:

{
"data": {
"commissionsCount": 0
}
}
commissionsCount(
filters: CommissionFiltersInput
): Int!

Arguments​

commissionsCount.filters ● CommissionFiltersInput input​

Optional filters. The same ones as commissions.

Type​

Int scalar​

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.