---
title: "Update notification preferences"
method: PUT
path: "/api/v1/notifications/preferences"
tags: ["notifications"]
---

# Update notification preferences

`PUT /api/v1/notifications/preferences`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/notifications/preferences`
- Auth: HTTP bearer

Update notification preferences

## Request body

- object
  - `loanUpdates` object: Loan update channel preferences
    - `web` boolean
    - `discord` boolean
    - `push` boolean
  - `invoiceUpdates` object: Invoice update channel preferences
    - `web` boolean
    - `discord` boolean
    - `push` boolean
  - `paymentUpdates` object: Payment update channel preferences
    - `web` boolean
    - `discord` boolean
    - `push` boolean
  - `systemMessages` object: System message channel preferences
    - `web` boolean
    - `discord` boolean
    - `push` boolean
  - `realtyUpdates` object: Realty update channel preferences
    - `web` boolean
    - `discord` boolean
    - `push` boolean
  - `enableWebNotifications` boolean: Enable web notifications
  - `enableDiscordNotifications` boolean: Enable Discord notifications

## Response `200`

Default Response

- object
  - `success` true, required
  - `data` object, required
    - `message` string: Success message
  - `meta` object, required
    - `timestamp` number, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/farmersonly/apis/farmersonly-club-api.md) - [All operations](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/llms.txt) - [OpenAPI document](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/revisions/b4fa9123ba90?raw)
