Set preferences for contact

Opts in a given contact to preferences, or opts out a given contact from preferences


This operation opts in a given contact to preferences, or opts out a given contact from preferences.

Opting in contacts to a preference

  • In the preference object in the body parameter, set the isOptedIn key to true

Opting out contacts from a preference

  • In the preference object in the body parameter, set the isOptedIn key to false

Path Params
string
required

Either the contact id or email address of the contact

Body Params
RAW_BODY
array of objects

An array of preference and preference category objects

RAW_BODY
Headers
string
/^(?:\{{0,1}(?:[0-9a-fA-F]){8}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){12}\}{0,1})$/

If you are a partner of Dotdigital and have a verified integration then include your integration tracking token here.

Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json