Update notifications
PATCH/v1/notifications
Update notifications
This endpoint allows updating various notification settings for a user. It accepts a JSON payload with optional fields for different types of notifications such as price change alerts, popular price changes, billing reminders, cryptocurrency news, marketing communications, and transactions above a certain limit. The endpoint uses PATCH method on /v1/notifications and requires authentication via UserId. Successful updates return a 200 status code, while internal errors result in a 500 status code.
Request
- application/json
Body
required
billing booleannullable
crypto_news booleannullable
marketing booleannullable
popular_price_change booleannullable
price_change_accounts uuid[]nullable
transaction_above_limit int32nullable
Responses
- 200
- 500
User notification updated
Internal server error
- text/plain
- Schema
Schema
string
Loading...