Update User Full Preference
Changed onAPI to update user preferences across all channels and categories with translated names and descriptions in the response.
patch/v1/user/{distinct_id}/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 updated
Query parameters
tenant_idstring
to update user preferences for a particular tenant
Request body
Response
202
Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- info
added the new optional request property
// - info
added the new optional request property
//
- info