---
title: "Update Preferences"
method: PUT
path: "/api/v1/preferences"
---

# Update Preferences

`PUT /api/v1/preferences`

Updates topic preferences for customer within specified brand group. It is mandatory to pass preference status for all topics.

## Query parameters

- `customerId` string, required
- `brandGroupId` string

## Headers

- `X-Tenant-Id` integer, required

## Request body

- object
  - `RAW_BODY` object[]
    - `topicId` string, required — The topic uuid to be updated
    - `channelSubscription` integer[] — The array of Channel Ids to be subscribed, empty unsubscribes all, missing channels are unsubscribed

## Response `200`

200

- object

## Other responses

- `400` — 400
- `409` — 409

---

[API](https://skmtc.net/optimove/apis/optimove-api.md) · [All operations](https://skmtc.net/optimove/apis/optimove-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/optimove/optimove-api/versions/fc55c5b1bec5/schema)
