Update user preferences, this version of API can take 'trackEmailAnalytics' and 'identifyId' property in the payload.
Ask AI
The fields are optional so it’s possible to provide only those that need to be updated.
If the user had preferences - override only the provided fields.
Valid field values: true, false, null.
Note: null value won’t override any other.
PUT
/v2/user/preferences
curl \
--request PUT 'https://api.aptrinsic.com/v2/user/preferences' \
--header "Content-Type: application/json" \
--data '{"guidedTours":true,"onboardingBot":true,"productUpdates":true,"surveys":true,"trackEmailAnalytics":true,"trackUsage":true}'
Request examples
{
"guidedTours": true,
"onboardingBot": true,
"productUpdates": true,
"surveys": true,
"trackEmailAnalytics": true,
"trackUsage": true
}