I want to update a subscriber as opted out if they are already in Marketing Cloud, otherwise I'd like to first insert them as a subscriber, and then opt them out in the same call. Is this functionality possible via the SOAP API? Or do I need to use separate calls to determine if they already exist and create them appropiately?
Is it possible to perform an “upsert” for a subscriber in marketing cloud via the SOAP API
marketing-cloudsoap-apisubscriber
Best Answer
Yes, you can use UpdateAdd SaveAction with Create SOAP method. Here is the example SOAP Envelope from Developer Documentation.