Preview

commissionCustomerCount is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

commissionCustomerCount

Distinct customers with cloud commissions in the selected range, for the Average Billings Per Customer tile. Uses the same tenant scope and month-aligned window as commissionSeries at MONTH granularity. APPSMART workbook rows carry no customer key, so the count is zero there — hide the tile for those advisors.

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_RESELLER

    ROLE_CHANNEL_ADMIN

    Arguments

    advisorId ID!

    Advisor whose distinct customer count is returned. Always applied.

    tenant String!

    Marketplace tenant to count. Same semantics as commissionSeries.tenant.

    salesAgentUuid ID

    Optional sales representative filter, matched case-insensitively. An unmatched value returns zero.

    dateFrom DateTime!

    Lower bound on the commission business date, aligned to month buckets like commissionSeries.

    dateTo DateTime!

    Upper bound on the commission business date. Must not be earlier than dateFrom, and the range must not span more than 1096 month buckets (same ceiling as commissionSeries at MONTH).

    Return Fields

    Int! PREVIEW

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

    Interactive example

    This is an example query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.