Skip to main content

UpdateRetrocessionsVisibility

Stable

Bulk-sets the distributor visibility of retrocession fees. With toggleAll=false, transactionFeeIds is required (current-page selection). With toggleAll=true, every fee matching search + filters is targeted. The update is applied synchronously up to a configurable threshold, beyond which it is processed asynchronously.

Signature

mutation {
UpdateRetrocessionsVisibility(visibleToDistributor: ..., toggleAll: ...)
}

Retourne : RetrocessionsVisibilityUpdateResult!

Arguments

NomTypeRequisDéfautDescription
visibleToDistributorBoolean!
toggleAllBoolean!When true, every fee matching search + filters is targeted and transactionFeeIds is ignored. When false, transactionFeeIds is required.
transactionFeeIds[ID!]Explicit fee ids (current-page selection). Required when toggleAll is false.
searchString
filtersRetrocessionFiltersInput

Exemple

mutation {
UpdateRetrocessionsVisibility(
visibleToDistributor: $visibleToDistributor
toggleAll: $toggleAll
) {
updatedCount
processedAsynchronously
}
}