Hi,
If anyone can give me any pointers I'd appreciate it.
I am trying to update an existing subscriber using the api.
I just need to update one or two custom fields based on a subscriber's action when on a webpage. Similar to performing an on click action but on a link click or form submit on a webpage.. I'm passing List ID and Subscriber ID in the url from an email
// UPDATE EXISTING SUBSCRIBER
$response = $endpoint->update($listUid, $subUid, array(
'CUSTOMFIELD1' => 'VALUE1',
'CUSTOMFIELD2' => 'VALUE2',
));
From what i have tried out the API must update all fields rather than just specific fields so I can't just update fields in the above manner...
I'm guessing I have to call all of the subscribers values then use Update Existing Subscriber to add in my custom field values...
If this is quick and easy and anyone can give me an easy solution how to do this I'd appreciate it....
If it is not so straight forward I am happy to post in the services required section to get paid help.
Seems like I almost should be able to figure it out but relying on my intellect would be a dangerous rabbit hole of hours googling solutions that I can see would kill my day.....
If anyone can give me any pointers I'd appreciate it.
I am trying to update an existing subscriber using the api.
I just need to update one or two custom fields based on a subscriber's action when on a webpage. Similar to performing an on click action but on a link click or form submit on a webpage.. I'm passing List ID and Subscriber ID in the url from an email
// UPDATE EXISTING SUBSCRIBER
$response = $endpoint->update($listUid, $subUid, array(
'CUSTOMFIELD1' => 'VALUE1',
'CUSTOMFIELD2' => 'VALUE2',
));
From what i have tried out the API must update all fields rather than just specific fields so I can't just update fields in the above manner...
I'm guessing I have to call all of the subscribers values then use Update Existing Subscriber to add in my custom field values...
If this is quick and easy and anyone can give me an easy solution how to do this I'd appreciate it....
If it is not so straight forward I am happy to post in the services required section to get paid help.
Seems like I almost should be able to figure it out but relying on my intellect would be a dangerous rabbit hole of hours googling solutions that I can see would kill my day.....