Skip to main content
Version: v1.0.0(int)

W062: Delete broker

Removes a broker that neither customers nor SOs reference. Triggered from Settings, Brokers.

Steps​

  1. Check usage. Call Customers.isBrokerInUse. The L2 op checks both customers and SOs.

  2. Delete the row. Call Customers.deleteBroker if not in use.

Returns​

Nothing.

Business rules​

  • In-use is blocking across two domains. A broker referenced by either customers or SOs cannot be deleted; the error payload returns both counts.

Errors​

  • InUseError. One or more customers or SOs reference this broker.