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

W056: Update customer segment

Renames an existing segment. Triggered from Settings, Customer segments. Same shape as W051.

Steps

  1. Load the segment.

  2. Check name uniqueness if changed.

  3. Apply the patch. Call Customers.updateCustomerSegment.

Returns

The updated segment row.

Business rules

  • Renames preserve history.

Errors

  • NotFoundError. The segment was not found.
  • ValidationError. Name collision.