Customer insights
customer_insightsCustomer counts, new vs returning customers (looking back a year), repeat-buyer rate and top customers by spend for a period. Names are shortened for privacy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Store address or id. Leave empty if you have only one store. | |
| period | No | today, yesterday, this_week, last_week, this_month, last_month, last_7_days, last_30_days, last_90_days, this_year, last_year — or YYYY-MM-DD..YYYY-MM-DD. Uses the store's own timezone. | last_30_days |