relance_activebooleanoptional
Turns the automatic win-back for lost customers on or off (one per customer per absence).
delai_relance_joursintegeroptional
The business's delay before a regular counts as "lost", in calendar days: one of 14, 21, 28, 35, 42, 60, 90. It is used for customers without enough history and bounds the rhythm of the others (from half to double). To go back to the delay suggested for the trade, put "delai_relance" in effacer.
texte_relancestring, ≤ 180 charactersoptional
Win-back text, 180 characters at most. To go back to the default text, put "texte_relance" in effacer.
anniversaire_activebooleanoptional
Turns the birthday message on or off (it only goes out if a text exists and the card asks for the birthday).
cadeau_anniversaireenumoptional
The birthday gift, valid for 30 days from the day itself: message (the text only), pourcent (a discount on every purchase), un_offert ("buy one, get one free", once), choix (the customer chooses at the counter between the discount and "buy one, get one free"). Gifts already open don't change.
Values : message pourcent un_offert choix
pourcent_anniversaireinteger, 1…90optional
The birthday discount percentage (pourcent and choix), from 1 to 90.
texte_anniversairestring, ≤ 180 charactersoptional
Text of the birthday message, 180 characters at most, ideally mentioning the gift. Without text, nothing is sent.
rappel_presquebooleanoptional
"One stamp to go" reminder when only one visit is missing.
rappel_recompensebooleanoptional
"Your reward is waiting" reminder when it has been earned.
delai_rappel_minutesintegeroptional
Delay between the visit and the reminder, in minutes: one of 0, 30, 60, 180, 1440 (1440 = the next day).
heures_calmes_debutinteger, 0…23optional
Start of quiet hours (hour from 0 to 23): no automatic notification arrives after it.
heures_calmes_fininteger, 0…23optional
End of quiet hours (hour from 0 to 23): sending resumes from this hour.
canal_avisenumoptional
Channel for "review request": auto (recommended: an important message goes out by SMS first except to customers who respond to notifications, a minor one as a notification and by SMS only to customers who respond better to SMS), notif, secours (SMS if the notification doesn't get through), sms (SMS first), email (email if the notification doesn't get through).
Values : auto notif secours sms email
importance_avisenumoptional
Importance of "review request": importante (goes first in the SMS budget) or petite.
Values : importante petite
canal_anniversaireenumoptional
Channel for "birthday": auto (recommended: an important message goes out by SMS first except to customers who respond to notifications, a minor one as a notification and by SMS only to customers who respond better to SMS), notif, secours (SMS if the notification doesn't get through), sms (SMS first), email (email if the notification doesn't get through).
Values : auto notif secours sms email
importance_anniversaireenumoptional
Importance of "birthday": importante (goes first in the SMS budget) or petite.
Values : importante petite
canal_rappelsenumoptional
Channel for "reminders": auto (recommended: an important message goes out by SMS first except to customers who respond to notifications, a minor one as a notification and by SMS only to customers who respond better to SMS), notif, secours (SMS if the notification doesn't get through), sms (SMS first).
Values : auto notif secours sms
importance_rappelsenumoptional
Importance of "reminders": importante (goes first in the SMS budget) or petite.
Values : importante petite
canal_relanceenumoptional
Channel for "win-back": auto (recommended: an important message goes out by SMS first except to customers who respond to notifications, a minor one as a notification and by SMS only to customers who respond better to SMS), notif, secours (SMS if the notification doesn't get through), sms (SMS first).
Values : auto notif secours sms
importance_relanceenumoptional
Importance of "win-back": importante (goes first in the SMS budget) or petite.
Values : importante petite
canal_messagesenumoptional
Channel for "business messages": auto (recommended: an important message goes out by SMS first except to customers who respond to notifications, a minor one as a notification and by SMS only to customers who respond better to SMS), notif, secours (SMS if the notification doesn't get through), sms (SMS first).
Values : auto notif secours sms
importance_messagesenumoptional
Importance of "business messages": importante (goes first in the SMS budget) or petite.
Values : importante petite
reserve_smsinteger, 0…100optional
Share of the monthly SMS budget kept for important messages, in %: 0, 25, 50, 75, 100.
effacerarray<enum>optional
Texts to clear. texte_relance goes back to the default text; an empty texte_anniversaire effectively stops birthday sends; delai_relance goes back to the delay suggested for the trade.
Values : texte_relance texte_anniversaire delai_relance
confirmerbooleanoptional
false (default): only returns a preview of what would be done, without changing anything. true: carries it out. Always show the preview to the person and wait for their approval before calling again with true.
Default : false