Module Values.AddProfileKeyRequestSource

Associates a new key value with a specific profile, such as a Contact Record ContactId. A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.

Sourcetype nonrec t = {
  1. profileId : Uuid.t;
    (*

    The unique identifier of a customer profile.

    *)
  2. keyName : Name.t;
    (*

    A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.

    *)
  3. values : RequestValueList.t;
    (*

    A list of key values.

    *)
  4. domainName : Name.t;
    (*

    The unique name of the domain.

    *)
}
Sourceval context_ : string
Sourceval make : profileId:Uuid.t -> keyName:Name.t -> values:RequestValueList.t -> domainName:Name.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String1To255.t ] list | `String of Uuid.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