Skip to main content

pendingCustomersSummary

Requires a tenant administrator.

Returns how many customers are waiting for approval, plus the newest few. Light enough to poll. Tenant admins only.

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 PendingCustomersSummary {
pendingCustomersSummary {
count
recent {
id
name
createdById
}
}
}

Response:

{
"data": {
"pendingCustomersSummary": {
"count": 0,
"recent": [
{
"id": "id",
"name": "string",
"createdById": "string"
}
]
}
}
}
pendingCustomersSummary: PendingCustomersSummary!

Type​

PendingCustomersSummary object​

How many customers await approval, with the newest few.