Edit Subscriber API
SUBSCRIBER EDIT
Description | Edit an existing subscriber. |
Returns | Subscriber ID or Error
|
XML Tags | <unsubscribe> value of 0 or 1 Other fields can be a maximum of 100 characters |
CALLING SAMPLE
<criticalimpact>
<login>
<username>xxxxxxx</username>
<password>xxxxxxxx</password>
</login>
<command>
<action>subscriberedit</action>
<subscriberid>45001154</subscriberid>
<email>api@apitest.com</email>
<firstname>API</firstname>
<lastname>Test</lastname>
<unsubscribe>0</unsubscribe>
<custom1></custom1>
<custom2></custom2>
<custom3></custom3>
<custom4></custom4>
<custom5></custom5>
<custom6></custom6>
<custom7></custom7>
<custom8></custom8>
<custom9></custom9>
<custom10></custom10>
</command>
</criticalimpact>
RETURN SAMPLE (SUCCESSFUL)
<criticalimpact>
<emailid>1739418</emailid>
<action>update</action>
</criticalimpact>
RETURN SAMPLE (FAILURE)
<criticalimpact>
<error>
<description>Invalid email format</description>
<id>0</id>
</error>
</criticalimpact>