• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

Object Index

You are viewing an old version of the API
LoyaltyProgramAccrualRule

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

Properties

Name Description
accrual_type
string

Required

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

points
integer (32-bit)

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

Min 1
visit_data
LoyaltyProgramAccrualRuleVisitData

Additional data for rules with the VISIT accrual type.

spend_data
LoyaltyProgramAccrualRuleSpendData

Additional data for rules with the SPEND accrual type.

item_variation_data
LoyaltyProgramAccrualRuleItemVariationData

Additional data for rules with the ITEM_VARIATION accrual type.

category_data
LoyaltyProgramAccrualRuleCategoryData

Additional data for rules with the CATEGORY accrual type.