Vincent is here! Just say the word, and Vincent will build the campaigns for you! Get early access.
{
"rule": {
"id": "val_WmgZXBqwCZrv",
"name": "Business Validation Rule - 2/9/2024",
"type": "expression",
"rules": {
"1": {
"name": "order.initial_amount",
"rules": {},
"conditions": {
"$more_than": [
9900
]
}
},
"logic": " 1"
},
"object": "validation_rules",
"created_at": "2024-02-09T10:15:49.306Z",
"updated_at": "2024-02-09T10:16:47.426Z",
"context_type": "campaign.discount_coupons.discount.percent.apply_to_items",
"applicable_to": {
"excluded": [
{
"id": "prod_0df14b7e7d8975079d",
"effect": "APPLY_TO_EVERY",
"object": "product",
"strict": false
},
{
"id": "pc_vmP8CPV6dC2X4a4ouI2bAJAP",
"effect": "APPLY_TO_EVERY",
"object": "products_collection",
"strict": false
}
],
"included": [
{
"id": "prod_0de0c540ad917bb410",
"effect": "APPLY_TO_EVERY",
"object": "product",
"strict": false,
"amount_limit": 500,
"quantity_limit": 2,
"aggregated_amount_limit": 10000,
"aggregated_quantity_limit": 4
},
{
"id": "pc_Pz9rI3FroSYacwobgNT5uiNN",
"effect": "APPLY_TO_EVERY",
"object": "products_collection",
"strict": false,
"amount_limit": 5000,
"quantity_limit": 3,
"aggregated_amount_limit": 50000,
"aggregated_quantity_limit": 10
}
],
"included_all": false
}
}
}{
"rule": {
"id": "val_WmgZXBqwCZrv",
"name": "Business Validation Rule - 2/9/2024",
"type": "expression",
"rules": {
"1": {
"name": "order.initial_amount",
"rules": {},
"conditions": {
"$more_than": [
9900
]
}
},
"logic": " 1"
},
"object": "validation_rules",
"created_at": "2024-02-09T10:15:49.306Z",
"updated_at": "2024-02-09T10:16:47.426Z",
"context_type": "campaign.discount_coupons.discount.percent.apply_to_items",
"applicable_to": {
"excluded": [
{
"id": "prod_0df14b7e7d8975079d",
"effect": "APPLY_TO_EVERY",
"object": "product",
"strict": false
},
{
"id": "pc_vmP8CPV6dC2X4a4ouI2bAJAP",
"effect": "APPLY_TO_EVERY",
"object": "products_collection",
"strict": false
}
],
"included": [
{
"id": "prod_0de0c540ad917bb410",
"effect": "APPLY_TO_EVERY",
"object": "product",
"strict": false,
"amount_limit": 500,
"quantity_limit": 2,
"aggregated_amount_limit": 10000,
"aggregated_quantity_limit": 4
},
{
"id": "pc_Pz9rI3FroSYacwobgNT5uiNN",
"effect": "APPLY_TO_EVERY",
"object": "products_collection",
"strict": false,
"amount_limit": 5000,
"quantity_limit": 3,
"aggregated_amount_limit": 50000,
"aggregated_quantity_limit": 10
}
],
"included_all": false
}
}
}TheDocumentation Index
Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
Use this file to discover all available pages before exploring further.
EVENTS.BUS_VAL_RULE.UPDATED event indicates that an existing business validation rule has been successfully modified. The event provides the details about the business validation rule with the changes included.
This event is used in a webhook configured in Project settings in Voucherify dashboard.
Event data object schema for bus_val_rule.updated.
Webhook accepted
Was this page helpful?