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

Object Index

You are viewing an old version of the API
LoyaltyProgramAccrualRule

Defines an accrual rule, which is how buyers can earn points.

Properties

Name Description
accrual_type
string

Required

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

points
integer (32-bit)

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

Min 1
visit_data
LoyaltyProgramAccrualRuleVisitData

Read only Additional data for rules with the VISIT accrual type.

spend_data
LoyaltyProgramAccrualRuleSpendData

Read only Additional data for rules with the SPEND accrual type.

item_variation_data
LoyaltyProgramAccrualRuleItemVariationData

Read only Additional data for rules with the ITEM_VARIATION accrual type.

category_data
LoyaltyProgramAccrualRuleCategoryData

Read only Additional data for rules with the CATEGORY accrual type.