<- Object

Object

LoyaltyProgramAccrualRule

Represents an accrual rule, which defines how buyers can earn points from the base loyalty program.

Link to section

Properties

Link to section

accrual_type

string

Required

The type of the accrual rule that defines how buyers can earn points.

Link to section

points

integer(32-bit)

The number of points that buyers earn based on the accrual_type.

Link to section

visit_data

Additional data for rules with the VISIT accrual type.

Link to section

spend_data

Additional data for rules with the SPEND accrual type.

Link to section

item_variation_data

Additional data for rules with the ITEM_VARIATION accrual type.

Link to section

category_data

Additional data for rules with the CATEGORY accrual type.