1

We're using the LogUnsubEvent API call on our custom preference center and noticing the opt outs are happening at the Enterprise level. Is it possible to perform these opt outs at the BU level?

https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/unsubscribing_and_logging_an_unsubevent_with_a_logunsubevent_execute_call.htm

1
1

How it's written will depend on the language you are using, but yes this is possible. You will just have to ensure to list the 'Client ID' as the final part of your call which will represent the MID of that specific business unit. Below is an example using AMPscript:

SET @client = CreateObject("ClientID")
SetObjectProperty(@client, "ID", [Insert MID of specific BU here])
SetObjectProperty(@client, "IDSpecified", "true")
SetObjectProperty(@sub, "Client", @client)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.