HelperStable

Remove company from group

Removes a company from a group without modifying other memberships.

Company / contact
Remove company from group
Companies & contacts
Typed result

Vue d’ensemble

Removes a company from a group without modifying other memberships.

Exemple

After reevaluation, remove the customer from the group of companies eligible for an offer.

Parameters 2

companyRequisCompany
Platform company on which the operation must act.
company_group_idRequisref(company_group)
Target group selected in the picker or supplied as a typed reference.

Outputs 2

changedboolean
Whether this execution actually removed the membership.
is_memberboolean
false: membership is absent at the end of the operation.

Behavior

The company and group must belong to the same merchant. An already-absent membership succeeds with changed=false. An actual removal returns changed=true and emits company.removed_from_group. is_member is false at the end of the operation.

Limits and responsibilities

  • The node deletes neither company nor group and does not replace the membership list.
  • Repeating the same removal has no effect. A later mutation may restore membership.