> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Account preferences

> How to find a customer account, read what it accepts to receive on each channel and change it with a reason, and how the marketing opt-out works with suppressions, caps and quiet hours.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/notification/preferences` (search) and `/{locale}/notification/preferences/{account}` (one account) |
| Menu | Notifications › Audience › **Preferences** |
| Role | Notification Admin and Notification Operator read; only Notification Admin changes |
| Permission | `notification-preference:find-all` to read, `notification-preference:update` to change |
| Feature flag | None |
| Last verified | 2026-11-11 against `develop` (`a1aa8ec02`) |

## What it is for

A preference is what a customer account accepts to receive on each channel. The customer changes it from MaihueGO,
the customer portal or the unsubscribe link of an email; from here you see what they chose and where, and you can
change it for them when they ask through support (for example, "do not send me promotional emails"). Every change
asks for a reason and stays in the account history.

Only **marketing** can be turned off. Security, transactional, payment and system notifications always go out,
whatever the customer chose.

## How to get there

* Sidebar: **Notifications › Audience › Preferences**.
* Type at least two letters of the name, email or document of the account and pick it from the list. The account
  opens at `/notification/preferences/{account}`.

## What you see

![Preferences screen with the Find an account card: the Account field holds Ana and the list shows Ana Rojas · 11.111.111-1.](https://mintcdn.com/bbrands/epssQQoY49ybY1H0/images/enterprise-notifications-screens/preferences/search.en.desktop.webp?fit=max\&auto=format\&n=epssQQoY49ybY1H0\&q=85\&s=3e2114cc853bc1f74d8875f68c90de24)

The search: type part of the name, email or document and pick the account.

![Account preferences of Ana Rojas · 11.111.111-1 with Save changes (0): the Category × channel table with Security, Transactional, Payment and System locked, and Marketing with Email off from Horizon Enterprise, Push off from MaihueGO, SMS, In-app and Live Activity on; below, Event overrides with club.coupon.obtained, Cupón obtenido, on Push, enabled from MaihueGO.](https://mintcdn.com/bbrands/ou9Zc6jsQhR5Nclq/images/enterprise-notifications-screens/preferences/account.en.desktop.webp?fit=max\&auto=format\&n=ou9Zc6jsQhR5Nclq\&q=85\&s=923b66f08991f5c586ee5195eceef725)

An account: the category × channel matrix and the event overrides.

![History section of the account preferences: an entry preference on 11/08/2026 by Soporte Maihue with is\_enabled true → false and source default → horizon-enterprise-admin, and the reason The customer asked by phone…; an earlier entry by Ana Rojas with source default → maihuego.](https://mintcdn.com/bbrands/ou9Zc6jsQhR5Nclq/images/enterprise-notifications-screens/preferences/history.en.desktop.webp?fit=max\&auto=format\&n=ou9Zc6jsQhR5Nclq\&q=85\&s=f148a163ffddac949b2a1be3be440e4b)

Lower on the same page, the history of the account's preferences.

| # | Element | What it does |
| - | - | - |
| 1 | **Find an account** › **Account** | Searches accounts by name, email or document from the second letter |
| 2 | Header | The account name and its document (`Ana Rojas · 11.111.111-1`); the **Save changes (n)** button counts the pending changes |
| 3 | **Category × channel** | One row per category and one column per channel: **Email**, **Push**, **SMS**, **In-app** and **Live Activity** (WhatsApp has no column: it is not sent yet). A column shows only when the account has cells on it. A switch can be changed; a padlock means "This category cannot be muted" |
| 4 | Source | Under a switch that is not on its default value, where the last change came from: **MaihueGO**, **Customer portal**, **Maihue Lunch**, **Email unsubscribe link**, **Horizon Enterprise** or **Integration** |
| 5 | **Changed** | A switch you moved and did not save yet |
| 6 | **Event overrides** | Events the catalog lets the customer turn off one by one, per channel, with their source |
| 7 | **History** | Who changed it, when, the fields with their old and new value (`is_enabled`, `source`) and the reason. It does not say which category or channel changed: compare it with the matrix (issue #2202) |

## Step by step

### Find an account

**1. Open Preferences**

Sidebar: **Notifications › Audience › Preferences**.

**2. Search**

In **Account** type at least two letters of the name, the email or the document. While it searches you see
"Searching accounts…"; if nothing matches, "No account matches.".

**3. Open it**

Pick the account in the list. Its matrix opens.

### Turn off a channel for marketing

**1. Move the switch**

In **Category × channel**, on the **Marketing** row, turn off the channel the customer asked for (for example,
**SMS**). The cell shows **Changed** and the header button becomes **Save changes (1)**.

**2. Save with a reason**

Press **Save changes (1)**. The dialog "Save preference changes?" says the change applies to every login of the
account. Write the reason (at least 3 characters), for example "The customer asked by phone not to get
promotional SMS", and press **Save**.

**3. Check**

You see **Preferences saved**: "They apply from the next send." The cell shows **Horizon Enterprise** as its
source, and the change and its reason appear in **History**.

![Save preference changes? dialog over the account matrix: it says 1 change(s) are applied to every login of the account and recorded with the reason; the Reason field says The customer asked not to get promotional SMS; Cancel and Save buttons.](https://mintcdn.com/bbrands/ou9Zc6jsQhR5Nclq/images/enterprise-notifications-screens/preferences/save.en.desktop.webp?fit=max\&auto=format\&n=ou9Zc6jsQhR5Nclq\&q=85\&s=e183461140add2ba5140162249258157)

Saving asks for a reason that stays in the history.

### Change one event only

**1. Find the event**

In **Event overrides**, find the row of the event and channel (for example, `club.coupon.obtained` on **Push**).

**2. Move the switch and save**

Change **Enabled**, press **Save changes (1)** and write the reason. Several changes, in the matrix and in the
events, are saved together with one reason.

## Business rules

| ID | Rule |
| - | - |
| R-01 | Preferences belong to the **account**, not to a login: a change applies to every person who signs in to that account |
| R-02 | Only the **Marketing** category can be turned off. Security, transactional, payment and system are locked on screen and the API rejects turning them off |
| R-03 | An event appears in **Event overrides** only when the catalog marks it as opt-out-able (and it is not deprecated) and its code declaration agrees, since the engine honours only those; an event where they disagree is left out instead of showing a switch that does nothing. Its value wins over the category; without its own value it takes the marketing value |
| R-04 | The checks run in this order: address, **suppression**, **preference**, **frequency cap**, **quiet hours**, delay. The first one that stops the send decides the reason |
| R-05 | A marketing channel turned off skips the send with the reason **Opted out**; it is not sent later when the customer turns it on again |
| R-06 | Security skips preferences, suppressions, caps and quiet hours. Payment and system skip preferences and caps. Marketing respects them all ([Edit rules](https://docs.bbrands.io/enterprise/notifications/catalog/rules.md)) |
| R-07 | A suppression wins over the preference: an address on the [suppression list](https://docs.bbrands.io/enterprise/notifications/audience/suppressions.md) gets nothing on that channel, even with the switch on |
| R-08 | The **unsubscribe link** of an email only turns off email: the marketing category, or only that event when the email was not marketing. Its source is **Email unsubscribe link** |
| R-09 | Each save takes 1 to 100 changes and a reason of 3 to 500 characters. Changes apply from the next send; a send that is already deferred is checked again when it is released |
| R-10 | If preferences cannot be read when sending, marketing is not sent and the other categories are |

## States and messages

| State | What you see | Why | What to do |
| - | - | - | - |
| Searching | "Searching accounts…" | The search is running | Wait |
| No result | "No account matches." | No account has that name, email or document | Try the document or the email |
| Locked | A padlock with "This category cannot be muted" | Only marketing can be turned off | Nothing: those notifications always go out |
| Pending change | **Changed** in the cell | You moved a switch and did not save | Save or reload the page to discard it |
| No overrides | "No opt-out-able event for this account." | No event of the catalog can be turned off one by one | Nothing |
| Saved | **Preferences saved**: "They apply from the next send." | The change and its reason were recorded | Nothing |
| Read only | The switches are disabled and **Save changes** does not show | Your role has `notification-preference:find-all` but not `:update` | Ask a Notification Admin |
| Skipped send | In Traceability, **Skipped** with reason **Opted out** | The customer turned the channel off | Nothing, unless the customer asks to turn it back on |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "The preferences could not be loaded." | The account does not exist or was deleted (404), or it could not be read | 404 / 5xx | Check the account and reload |
| **The preferences could not be saved** · "Some data is not valid. Review the highlighted fields and try again." | A non-marketing category, an event that is not opt-out-able or a reason out of range | 400 | Change only marketing and opt-out-able events |
| **The preferences could not be saved** · "You do not have permission for this action…" | Missing `notification-preference:update` | 403 | Ask for the Notification Admin role |
| **The preferences could not be saved** · "Something failed on our side…" | Server error | 5xx | Try again |

## Why it works this way

Marketing is the only message a customer may refuse: the others (a security code, a payment receipt, the status of
an order) are part of the service. Keeping preferences per account means a family or a company that shares an
account decides once for everyone. The check order puts the blocks that do not depend on time first (the address is
blocked, the customer said no), so a marketing send never waits for quiet hours only to be dropped afterwards.

## Technical detail

| Aspect | Detail |
| - | - |
| Screens | `frontend/horizon-enterprise/app/components/screens/notification/preferences/` (`notification-preferences-search-screen.tsx`, `notification-account-preferences-screen.tsx`, `notification-preference-matrix.tsx`) |
| Read | `GET /api/v3/notification/preference?account={id}` → `{ account, cells, events, history }` (the latest 50 history rows); an unknown or deleted account answers 404 `account-not-found` (also on save) |
| Save | `PUT /api/v3/notification/preference?account={id}` with `{ changes, reason }`, each change with `category` (or `event`), `channel` and `is_enabled`; a staff change is saved with source `horizon-enterprise-admin` |
| Engine | `backend/horizon-api/lib/notification/eligibility/` (`eligibility-pipeline.ts`, `preferences.ts`, `category-rules.ts`) |
| Unsubscribe link | `backend/horizon-api/lib/notification/preference/` (`preference-link.ts`, `preference-unsubscribe.service.ts`) |
| Texts | `messages/{es,en}.json` › `modules.notification.preferences` and `modules.notification.vocabulary.preferenceSource` |

## FAQ and support cases

> [accordion] A customer says they turned promotions off and still got a push
>
> Check the **Push** column of **Marketing** and its source. If it is on, they changed it on another account or
> the change did not reach the app. If it is off, look up the send in Traceability: a send queued before the
> change goes out.

> [accordion] A customer wants to stop getting payment emails
>
> Not possible: payment is not marketing and is locked. Explain that they are notices of the service.

> [accordion] I turned a channel back on and the customer did not get the old campaign
>
> Skipped sends are not sent again. The customer gets the next ones.

> [accordion] Where did the Email unsubscribe link source come from?
>
> The customer pressed the unsubscribe link at the bottom of an email. It only turns off email.

## Related and history

* [Suppressions](https://docs.bbrands.io/enterprise/notifications/audience/suppressions.md)
* [Edit rules](https://docs.bbrands.io/enterprise/notifications/catalog/rules.md)
* [Bell and preferences](https://docs.bbrands.io/enterprise/getting-started/bell-and-preferences.md) (your own preferences)
* [Glossary](https://docs.bbrands.io/enterprise/notifications/getting-started/glossary.md)

| Date | Change |
| - | - |
| 2026-11-11 | First version |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.