curl --location --request GET '/smartflows//actions/contact/update/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"name": "Custom activity name",
"activityId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"smartflowId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"ancestorId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"metrics": {
"updatedContactsCount": 123
},
"action": "update",
"contactField": {
"name": "remarks",
"value": "Marked as inactive. Does not reacts to more then 6 months"
}
}
}'