curl --location --request PUT '/smartflows//triggers/product-purchase/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom activity name",
"sendOncePerDays": 5,
"triggerType": "product",
"triggerTypeValue": "Shoes",
"purchaseValueType": "equals",
"purchaseValueAmount": 100,
"purchaseValueCurrency": "CZK",
"purchaseItemsCountType": "equals",
"purchaseItemsCountAmount": 5
}'{
"error": "Reason of failure"
}