Skip to main content

Spending rule action

Example​

{
"type": "PERCENTAGE_DISCOUNT",
"source": "SPENDING_RULE",
"id": "67f61bc7f14e2b637bb919a9",
"pointsPrice": 500
}
Properties
typestring
Spending rule types. Enum: AMOUNT_DISCOUNT, PRODUCT_DISCOUNT, PERCENTAGE_DISCOUNT, SHIPPING_DISCOUNT, GIFT_CARD
source"SPENDING_RULE"
Fixed constant.
idstring
Id of spending rule.
pointsPricenumber
Points price of the spending rule. Can be used as the amount of points the customer spent to redeem the reward.