curl --location --request PUT '/smartflows//triggers/cart-product-discount/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom activity name",
"triggerType": "minDiscountPercent",
"triggerTypeValue": "10"
}'{
"error": "Reason of failure"
}