POST /contacts/v1/contacts/id:{contactId}/Preferences

Adds consent management information to contact records by contact ID for data protection and privacy concerns.

URL Parameters

contactIdstringRequiredUnique ID for the contact.

JSON Parameters

valueobjectRequiredArray of contact IDs and other properties to add.
value.contactIDlongRequiredUnique ID for the contact.
value.hasOptedOutTrackingbooleanIndicates whether a contact opted out of tracking information.

Required Marketing Cloud Permissions

  • Assets, Upload
  • Assets, Publish

Required Scope

  • Documents and Images, Read and Write
  • Saved Content, Read and Write

Example Request

Example Response