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
/v1/user/preferences/{identifyId}
curl \
--request PUT 'https://api.aptrinsic.com/v1/user/preferences/{identifyId}' \
--header "Content-Type: application/json" \
--data '{"guidedTours":true,"onboardingBot":true,"productUpdates":true,"surveys":true,"trackUsage":true}'
Request examples
{
"guidedTours": true,
"onboardingBot": true,
"productUpdates": true,
"surveys": true,
"trackUsage": true
}