You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
I am using php-sdk 3.0.0-alpha (because I need Guzzle 6 for the other packages/dependencies, as stated here: #113). There is method unsubscribeContact which requires $contactId (int - Unique contact id):
But how to get that Id? For example, if I want to unsubscribe [email protected] from specific list - how can I get the id of that contact? There is no method to get contact by email address. Also, the unsubscribeContact method doesn't receive any param to determine the list.
The text was updated successfully, but these errors were encountered:
OK, I found how: $contact->results[0]->id (and $contact = $this->cc->contactService->getContacts($this->token, ["email" => Input::get('email')]);. This (->results[0]->id) is not very intuitive, and I did not find this in the documentation/examples.
I am using php-sdk 3.0.0-alpha (because I need Guzzle 6 for the other packages/dependencies, as stated here: #113). There is method
unsubscribeContact
which requires$contactId
(int - Unique contact id):But how to get that
Id
? For example, if I want to unsubscribe[email protected]
from specific list - how can I get theid
of that contact? There is no method to get contact by email address. Also, theunsubscribeContact
method doesn't receive any param to determine the list.The text was updated successfully, but these errors were encountered: