UpdateRetrocessionsVisibility
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
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
visibleToDistributor | Boolean! | ✓ | — | — |
toggleAll | Boolean! | ✓ | — | 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. | |
search | String | — | — | |
filters | RetrocessionFiltersInput | — | — |
Exemple
mutation {
UpdateRetrocessionsVisibility(
visibleToDistributor: $visibleToDistributor
toggleAll: $toggleAll
) {
updatedCount
processedAsynchronously
}
}