Client Companies
Preview Customer Rule
Count the companies a draft client rule would select, without saving it
POST
Runs a draft rule against the CRM and answers how many of its companies would
count as clients, with a few of their names. Nothing is saved. Takes the same
body as Set Client Rule.
count can be a lower bound when the CRM stops counting early;
count_is_lower_bound says so.
The rule, as Set Client Rule takes it.
Errors
Authorizations
Body
application/json
Set Client Rule only (Preview Client Rule ignores it). Changing or turning off a rule
that is on can remove companies from your client list, so such a save writes nothing
and answers confirmationRequired: true with currentRuleMatches, newRuleMatches,
countIsLowerBound, a sample and a message. Send the same request with confirm
set to true to apply it.