notifications
Update notification preferences
Changed onUpdate notification preferences for the current user. Set enabled_types to null to enable all types.
put/api/notifications/preferences
Request
- Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
- URL: https://api.corabea.it/api/notifications/preferences
- Auth: HTTP bearer
Request body
Example request
{
"enabled_types": {
"booking": true,
"chat": true,
"daily_morning": false,
"payment": false
}
}Response
Successful Response
Example response
{
"enabled_types": {
"booking": true,
"chat": true,
"daily_evening": true,
"daily_morning": false,
"event": true,
"general": true,
"payment": false,
"subscription": true
},
"types": [
{
"enabled": true,
"type": "chat"
},
{
"enabled": true,
"type": "booking"
},
{
"enabled": false,
"type": "payment"
}
]
}Changes
- warning
added the new
communityenum value to the//response property for the response status
- warning
- warning
added the new
clinical_documentenum value to the//response property for the response status
- warning