update_suprsend_object_channel_preference
Update channel preferences for an object to block or allow specific delivery channels across all categories.
Instructions
Block or allow specific delivery channels for ONE object, applied across ALL categories.
is_restricted semantics: true blocks delivery on that channel; false re-enables it. Each entry in channel_preferences is a {channel, is_restricted} pair.
When NOT to use:
For per-category control — use update_suprsend_category_preference_object.
For users — use update_suprsend_user_channel_preference.
Side effects: takes effect on the next workflow run; in-flight notifications may still send.
Returns: updated channel-preference state on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_preferences | Yes | The channel preferences to update for the users. | |
| object_id | Yes | The object_id of the object to update the channel preference for. | |
| object_type | Yes | The object_type of the object to update the channel preference for. | |
| workspace | No | SuprSend workspace to update the channel preference for. |