Name | Type | Description |
---|---|---|
type | TypeEnum | |
points | Integer | Defines how the points will be added to the loyalty card. FIXED adds a fixed number of points. |
calculationType | CalculationTypeEnum | |
order | LoyaltiesEarningRulesGetResponseBodyLoyaltyOrder | |
orderItems | LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItems | |
customer | LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomer | |
customEvent | LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomEvent |
Name | Value |
---|---|
FIXED | "FIXED" |
PROPORTIONAL | "PROPORTIONAL" |
Name | Value |
---|---|
ORDER_AMOUNT | "ORDER_AMOUNT" |
ORDER_TOTAL_AMOUNT | "ORDER_TOTAL_AMOUNT" |
ORDER_METADATA | "ORDER_METADATA" |
ORDER_ITEMS_QUANTITY | "ORDER_ITEMS_QUANTITY" |
ORDER_ITEMS_AMOUNT | "ORDER_ITEMS_AMOUNT" |
ORDER_ITEMS_SUBTOTAL_AMOUNT | "ORDER_ITEMS_SUBTOTAL_AMOUNT" |
CUSTOMER_METADATA | "CUSTOMER_METADATA" |
CUSTOM_EVENT_METADATA | "CUSTOM_EVENT_METADATA" |