Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.55 KB

LoyaltiesEarningRulesGetResponseBodyLoyalty.md

File metadata and controls

43 lines (27 loc) · 1.55 KB

LoyaltiesEarningRulesGetResponseBodyLoyalty

Properties

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

Enum: TypeEnum

Name Value
FIXED "FIXED"
PROPORTIONAL "PROPORTIONAL"

Enum: CalculationTypeEnum

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"