curl --location --request PUT 'https://api.mpc.dev.placewise.com/v1/automation/groups//workflows//actions/?dry_run=' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"workflow_action": {
"frequency": {
"period": "minute",
"limit": 5
},
"total_limit": 100,
"delay_seconds": 90,
"type": "add_to_group",
"message_id": 1,
"feedback": {
"timeout_days": 14
}
}
}'{
"workflow_action": {
"frequency": {
"period": "minute",
"limit": 5
},
"total_limit": 100,
"delay_seconds": 90,
"id": 1,
"created_at": "2022-11-15T16:25:58.099512Z",
"updated_at": "2022-11-15T16:25:58.099512Z",
"type": "add_to_group",
"message_id": 1,
"feedback": {
"timeout_days": 14
}
}
}