Returns the workspace's RFM summary: how many customers its RFM groups (rfm on each contact, rfmGroup in segment rules) were scored from, how many each group holds, and when. RFM groups customers by the recency, frequency and monetary value of their purchases. Scoring runs once a day.
Header parameters
Kirora-Workspacestringoptional
Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern ^[A-Za-z0-9._:-]{1,128}$
Returns
Returns 200 OK with a RfmSummary in data. Otherwise returns an error; Errors lists every code and which to retry.
customersinteger | nullrequired
The customers (contacts with the workspace's purchase event) the last scoring placed in a group; null until first scored. Groups rest on these alone, with no minimum: a few customers make coarse groups.
min 0
purchaseEventstring | nullrequired
The purchase event the last scoring counted (the workspace's purchaseEvent then); null until first scored.
currencystring | nullrequired
The workspace's main currency, the one most purchases carry: what monetary and each contact's totalSpent count in. null when purchases carry no currency or no amount, or until first scored.
scoredAtstring | nullrequired
When the groups were last scored (once a day); null until first.
date-time
groupsmap<string, integer> | nullrequired
How many customers each group holds, every group listed (an empty one as 0); null until first scored.
keys: one of champions, loyal, cant_lose_them, potential_loyalists, new_customers, need_attention, about_to_sleep, at_risk, hibernating, lost · values: min 0
We'd like to use Google Analytics cookies to understand how people use this site. You can accept or decline them. See our Cookie Policy.