W057: Delete customer segment
Removes a segment that no customer references. Triggered from Settings, Customer segments. Same shape as W052.
Steps
-
Check usage. Call
Customers.isCustomerSegmentInUse. -
Delete the row. Call
Customers.deleteCustomerSegment.
Returns
Nothing.
Business rules
- In-use is blocking.
Errors
InUseError. One or more customers reference this segment.