W062: Delete broker
Removes a broker that neither customers nor SOs reference. Triggered from Settings, Brokers.
Steps
-
Check usage. Call
Customers.isBrokerInUse. The L2 op checks both customers and SOs. -
Delete the row. Call
Customers.deleteBrokerif 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.