Update a Subscriber

 Home /Knowledgebase / SEMSblast API /Update a Subscriber

Use the API to update a subscribers details. You can also use the ADD SUBSCRIBERS API to add new subscriber, or if an email already exists in a group, update existing subscriber details.

 

Request

Submit an XML Request with the following details:

Post URL: http://cp.semsblast.com/api/v3.0/subscribers/updateSubscriber/

 

Fields to Post
apiKey String REQUIRED The APIKey of the requesting user.
groupID Int REQUIRED The group ID the subscriber belongs to.
subscriberID Int REQUIRED The subscriber ID.
firstName String   The first name of the subscriber
lastName String   The last name of the subscriber
companyName String   The company name of the subscriber

 

Response

Data Sent Back
error Int Indicates wether an error has occured. 0 for no error. 1 for error.
status String If there's been an error, a text description of the error that occured will be here.

 

Sample request XML using Subscriber ID

<xml>
     <apiKey>44-121312131223</apiKey>
     <groupID>213213</groupID>
     <subscriberID>981413</subscriberID>
     <firstName>Test</firstName>
     <lastName>User</lastName>
     <companyName>Test Company</companyName>
</xml>

 

Sample response XML

<xml>
     <error>0</error>
     <status>success</status>
</xml>





Copyright © 2015 SEMSblast.com | Smarter eMail Marketing Solution. All rights reserved.Terms of Service | Privacy Policy