Name | Type | Description | Notes |
---|---|---|---|
type | String | Defines how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio. | [default to 'PROPORTIONAL'] |
calculation_type | String | `ORDER_METADATA`: Order Metadata (X points for every Y in metadata attribute, defined in the property key under the order.metadata object) | [default to 'ORDER_METADATA'] |
order | EarningRuleProportionalOrderMetadataOrder |