Module Values.UpdateContactRequestSource

Updates a contact's preferences for a list. You must specify all existing topic preferences in the TopicPreferences object, not just the ones that need updating; otherwise, all your existing preferences will be removed.

Sourcetype nonrec t = {
  1. contactListName : ContactListName.t;
    (*

    The name of the contact list.

    *)
  2. emailAddress : EmailAddress.t;
    (*

    The contact's email address.

    *)
  3. topicPreferences : TopicPreferenceList.t option;
    (*

    The contact's preference for being opted-in to or opted-out of a topic.

    *)
  4. unsubscribeAll : UnsubscribeAll.t option;
    (*

    A boolean value status noting if the contact is unsubscribed from all contact list topics.

    *)
  5. attributesData : AttributesData.t option;
    (*

    The attribute data attached to a contact.

    *)
}
Sourceval context_ : string
Sourceval make : ?topicPreferences:??? -> ?unsubscribeAll:??? -> ?attributesData:??? -> contactListName:ContactListName.t -> emailAddress:EmailAddress.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of UnsubscribeAll.t | `List of [> `Structure of (string * [> `Enum of string | `String of TopicName.t ]) list ] list | `String of ContactListName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t