Hello! We have an API call to update a custom field value for a subscriber, and then another one (immediately after) to UNSUBSCRIBE them:
$response = $endpoint->update($list['general']['list_uid'], $record['subscriber_uid'], array(
'MOVE' => '2'
$response = $endpoint->unsubscribe($list['general']['list_uid'], $record['subscriber_uid']);
Is it possible to accomplish this with just ONE API call? For example, can I just use the "update" to change the subscribers STATUS as well? My programmer is tied up right now, so I have to make this change if possible.
If this is possible, what would the STATUS field name be that I can use in the UPDATE call? And what value should it be to set the subscriber as unsubscribed?
Thank you!
Dan
$response = $endpoint->update($list['general']['list_uid'], $record['subscriber_uid'], array(
'MOVE' => '2'
$response = $endpoint->unsubscribe($list['general']['list_uid'], $record['subscriber_uid']);
Is it possible to accomplish this with just ONE API call? For example, can I just use the "update" to change the subscribers STATUS as well? My programmer is tied up right now, so I have to make this change if possible.
If this is possible, what would the STATUS field name be that I can use in the UPDATE call? And what value should it be to set the subscriber as unsubscribed?
Thank you!
Dan