---
title: Update user preferences
full: true
_openapi:
  method: PUT
  toc: []
  structuredData:
    headings: []
    contents:
      - content: >
          Update a user's notification preferences. Only provided fields are
          updated (partial update).


          **Channel types:** Set to `false` to opt the user out of a channel
          globally.


          **Notiflow preferences:** Override settings for specific notiflows
          (keyed by notiflow handle):

          ```json

          {
            "notiflows": {
              "order-updates": {
                "enabled": true,
                "channel_types": {
                  "email": false
                }
              }
            }
          }

          ```
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Update a user's notification preferences. Only provided fields are updated (partial update).

**Channel types:** Set to `false` to opt the user out of a channel globally.

**Notiflow preferences:** Override settings for specific notiflows (keyed by notiflow handle):
```json
{
  "notiflows": {
    "order-updates": {
      "enabled": true,
      "channel_types": {
        "email": false
      }
    }
  }
}
```


<APIPage document={"./openapi-admin.json"} operations={[{"path":"/users/{user_external_id}/preferences","method":"put"}]} />