Placewise API
Get startedExplore
Get startedExplore
Performance Cloud 🗗
Placewise 🗗
ExplorePublic APIManagement APIUsers API
Operations APIMessaging APIReporting APIML APIData API
ExplorePublic APIManagement APIUsers API
Operations APIMessaging APIReporting APIML APIData API
  1. Account
  • Introduction
  • Users
    • Introduction
    • Account
      • Show Notifications Settings
        GET
      • Update Notifications Settings
        PUT
    • List Users
      GET
  • Conversations
    • Introduction
    • Conversations
      • Mark Conversation as "received"
      • Create Conversation
      • List Conversations
      • Show Conversation
      • Mark Conversation as "seen"
      • Archive Conversation
    • Messages
      • Create Message
      • List Messages
      • Archive Message
  • Notifications
    • List Notifications
      GET
    • Show Notification
      GET
    • Mark all Notifications as Received
      PUT
    • Mark Notification as Seen
      PUT
    • Mark all Notifications as Seen
      PUT
    • Mark Notification as Received
      PUT
  • Subunits Scopes
    • List Subunits Scopes for User
      GET
  1. Account

Update Notifications Settings

Pending
PUT
https://api.mpc.dev.placewise.com/v1/users/me/account/notifications_settings
API Permit:Users:Api:User:Account:Core
API Context:Global
Authorizations:User
Updates given NotificationsSettings for current user.
The operation may be partial (so it's possible to update just one notification setting without providing others)

Example#

Body Parameters#

KeyDescription
notifications_settingsjson
notifications_settings.notification_typesjson
When successful, returns
{
  "status": ok
}

Request

Header Params

Body Params application/json

Example
{
    "notifications_settings": {
        "notification_types": {
            "operations_article_published": {
                "sms": false, "push": true, "email": true
            }
        }
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C#
Ruby
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.mpc.dev.placewise.com/v1/users/me/account/notifications_settings' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "notifications_settings": {
        "notification_types": {
            "operations_article_published": {
                "sms": false, "push": true, "email": true
            }
        }
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "notifications_settings": {
        "notification_types": {
            "operations_alert_accepted": {
                "sms": false,
                "email": true,
                "push": true
            }
        }
    }
}
Previous
Show Notifications Settings
Next
List Users
Built with