Customer segments
customer_segmentsGroups customers into VIP (top 10% by spend), repeat, one-time, new (first order in the last 30 days) and lapsed (no order for 90+ days). Names are shortened and emails are never shown. Pass segment to list who is in one group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| store | No | Store address or id. Leave empty if you have only one store. | |
| segment | No | ||
| lookback_days | No |