Skip to content

/AWS1/CL_CUS=>ADDPROFILEKEY()

About AddProfileKey

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.

Method Signature

IMPORTING

Required arguments:

IV_PROFILEID TYPE /AWS1/CUSUUID /AWS1/CUSUUID

The unique identifier of a customer profile.

IV_KEYNAME TYPE /AWS1/CUSNAME /AWS1/CUSNAME

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.

IT_VALUES TYPE /AWS1/CL_CUSREQUESTVALUELIST_W=>TT_REQUESTVALUELIST TT_REQUESTVALUELIST

A list of key values.

IV_DOMAINNAME TYPE /AWS1/CUSNAME /AWS1/CUSNAME

The unique name of the domain.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CUSADDPROFILEKEYRSP /AWS1/CL_CUSADDPROFILEKEYRSP