Users
Set user preferences
This endpoint lets you update all the information about a user's preferences on notifications. You need to have WRITE access to this user.
post/user/{user_id}/preferences
Request
- Base URLhttps://api.partoo.co/v2
- AuthAPI key in header x-APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
User id
Request body
Example request
{
"reports": {
"daily_review_preferences": {
"partners": [
"facebook",
"google_my_business",
"tripadvisor"
],
"review_type": 2
}
}
}Response
OK
Example response
{
"id": "5309c3a237bbc544d8e26737"
}Changes
No recorded changes to this operation across all 2 revisions of this API.