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

Overview

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

URL Parameters

NameTypeDescription
contactIdstringRequiredUnique ID for the contact.

JSON Parameters

NameTypeDescription
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.

Usage

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