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

E058: Check if customer segment is in use

GET /api/customer-segments/:id/in-use

Returns whether any customer references the given segment. Same shape as W053.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.

Request

No body.

Response — 200 OK

{ "inUse": true, "sampleCustomerIds": ["uuid"] }

Errors

HTTPcodeCondition
404not_foundNo such segment.

Workflow

Calls W058 Check if customer segment is in use.