Skip to main content
POST
/
user
/
{user_id}
/
preferences
Set user preferences
curl --request POST \
  --url https://api.partoo.co/v2/user/{user_id}/preferences \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "reports": {
    "review_management_daily": true,
    "review_management_weekly": true,
    "review_management_monthly": true,
    "daily_review_preferences": {
      "partners": [
        "facebook",
        "google_my_business",
        "tripadvisor"
      ],
      "review_type": 2
    }
  },
  "receive_negative_reviews_email_notifications": true
}'
{
  "id": "5309c3a237bbc544d8e26737",
  "status": "success"
}

Authorizations

x-APIKey
string
header
required

The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.

Path Parameters

user_id
string
required

User id

Body

application/json
reports
object

Daily, weekly and monthly reports preferences

receive_negative_reviews_email_notifications
boolean

Receive a notification when there is a negative review.

Response

OK

id
string

User id

Example:

"5309c3a237bbc544d8e26737"

status
enum<string>
Available options:
success