---
title: "Update marketing email subscriptions"
method: PUT
path: "/user/marketing-subscriptions"
tags: ["marketing-subscriptions"]
---

# Update marketing email subscriptions

`PUT /user/marketing-subscriptions`

Updates Supabase replica, Customer.io CDP traits, and PostHog person properties.

## Request body

- MarketingSubscriptionsPutRequest
  - `topics` object, required — Topic id (string) -> subscribed e.g. {'1': true, '5': false}
  - `channels` MarketingChannelsPayload
    - `email` boolean — Marketing email channel opt-in

## Response `200`

Successful Response

- MarketingSubscriptionsResponse
  - `topics` object, required
  - `channels` object, required
  - `cio_person_id_strategy` string, required
  - `managed_topic_ids` integer[], required
  - `customer_io_sync_ok` boolean, nullable
  - `customer_io_sync_error` string, nullable

## Other responses

- `401` — Unauthorized
- `422` — Validation Error

---

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