Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 806 Bytes

EarningRuleBaseLoyaltyCustomerMetadata.md

File metadata and controls

16 lines (8 loc) · 806 Bytes

EarningRuleBaseLoyaltyCustomerMetadata

Defines the ratio based on the property defined in the calculation_type parameter. For every given increment of value (1, 10, etc) defined in the every parameter for the property defined in calculation_type, give the customer the number of points defined in the points parameter. In other words, for every order metadata property value, give points.

Properties

Name Type Description Notes
every Integer For how many increments of the customer metadata property to grant points for.
points Integer Number of points to be awarded, i.e. how many points to be added to the loyalty card.
property String Customer metadata property.