Overall Channel level
API to update user preferences across all channels.
patch/v1/user/{distinct_id}/preference/channel_preference/
Request
- Base URLhttps://hub.suprsend.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
distinct_idstring required
distinct_id of the user whose preferences should be fetched
Query parameters
tenant_idstring
to fetch user preferences for a particular tenant
Request body
Response
202
Example response
{
"channel_preferences": [
{
"channel": "email"
}
]
}Changes
No recorded changes to this operation across all 14 revisions of this API.