Skip to main content

recomputeCustomerTiers

Requires at least one of the permissions settings:customer_tiers:update or settings:tenant:update.

Re-evaluates the tier of every unlocked customer and returns how many were upgraded. It returns 0 when the module or automatic tiering is off. Requires permission to update customer tier or tenant settings.

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:

mutation RecomputeCustomerTiers {
recomputeCustomerTiers
}

Response:

{
"data": {
"recomputeCustomerTiers": 0
}
}
recomputeCustomerTiers: Int!

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.