Skip to main content

I am trying to update subscriber status in All Subscribers via the SOAP API for subscribers who have unsubscribed. Ultimately, I would like to be able to make a call that also adds a subscriber if they do not exist as a part of this, but right now I am simply trying to update a status. We use multiple SFMC API calls and I am familiar with the authorization process and all the rest. Everything I can find tells me this should work, but I get an 'API object not found' error. Have also tried this as a CreateRequest and with and without the <EmailAddress> parameter. Any help is appreciated. 

  

 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"   xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > 

    <soap:Header>  

     <fueloauth>MYTOKEN</fueloauth> 

     </soap:Header> 

      <soap:Body> 

             <UpdateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI"> 

               <Objects xsi:type="Subscriber">               

                

                   <SubscriberKey>MYKEY</SubscriberKey> 

                   <Status>Unsubscribed</Status> 

            

                </Objects> 

              </UpdateRequest>    

     </soap:Body> 

 </soap:Envelope>

 

@* Salesforce Developers * 

1 answer
0/9000