Discount items with large stock availability
Rule breakdown, resource payload analysis, and outcomes explanation
{
"rules": [
{
"name": "Discount 5% on items that have a big stock",
"conditions": [
{
"field": "order.line_items.sku.inventory.quantity",
"matcher": "gteq",
"value": 100,
"group": "discountable-items"
}
],
"actions": [
{
"type": "percentage",
"selector": "order.line_items",
"groups": [
"discountable-items"
],
"value": 0.05
}
]
}
]
} Rules breakdown
Conditions
Actions
Resource payload analysis
Outcomes check
Conclusion
PreviousOffer a specific shipping method for free in a specific countryNextDiscount all the SKU in an order based on the shipping country
Last updated