ProgramPoints
object
How points are earned and turned into vouchers. Present for every business: POS point rules give points even when the main program is stamps.
Fields
points_per_unitinteger | nullRequiredPoints per unit of currency spent on items no rule matches.
nullwhen the main program is stamps: then onlyrulesgive points.points_to_rewardinteger | nullRequiredPoints needed for a voucher;
0ornullmeans points do not turn into vouchers.reward_valuenumber | nullRequiredThe amount of the voucher, in the business's currency.
reward_labelstring | nullRequiredThe title of the voucher.
expire_daysinteger | nullRequiredDays a voucher stays valid once active;
nullor0= no expiry.activate_afterintegerRequiredDays after it is issued that a voucher can be used (
0–4).One of
012349 fields
idintegerRequirednamestringRequiredscale_factornumberRequiredPoints per unit of the item's price;
0= the items give no points.is_activebooleanRequiredfalse= POS rules are switched off for the business, the rule gives no points now.included_skusarray of stringRequiredexcluded_skusarray of stringRequiredincluded_categoriesarray of stringRequiredCategory paths as sent by the POS;
/26/is category 26 and everything under it.excluded_categoriesarray of stringRequiredlocation_idsarray of integerRequiredIds from List locations where the rule applies; empty = every location.