Update workflows in preference set
Changed onUpdates the workflow preferences for an object's preference set.
Request
- Base URL: https://api.knock.app
- URL: https://api.knock.app/v1/objects/{collection}/{object_id}/preferences/{id}/workflows
- Auth: HTTP bearer
Response
OK
Example response
{
"categories": {
"marketing": false,
"transactional": {
"channel_types": {
"email": false
}
}
},
"channel_types": {
"email": true,
"push": false,
"sms": {
"conditions": [
{
"argument": "US",
"operator": "equal_to",
"variable": "recipient.country_code"
}
]
}
},
"commercial_subscribed": true,
"id": "default",
"workflows": null
}Changes
- breaking
the
response's property type changed frombooleanto no type for status - info
added
subschema #1subschema #3to theresponse propertyanyOflist for the response status
- breaking
- warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////////response property for the response status - warning
added the new
not_contains_allenum value to the//////response property for the response status
- warning