Skip to main content

Spending rule action

Example​

{
"type": "PERCENTAGE_DISCOUNT",
"source": "SPENDING_RULE",
"id": "67f61bc7f14e2b637bb919a9"
}
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.