# # # 5. DELETE CONTACT # # // you can delete contact by email or budgetmailer contact id $emailOrId = '*****@*****.**'; // you can optionally send name or id of budgetmailer contact list id // null = default list from configuration $listName = null; $client->deleteContact($emailOrId, $listName); # # 6. DELETE TAG FROM CONTACT # $tag = 'Tag'; $client->deleteTag($emailOrId, $tag, $listName); # # 7. GET SINGLE CONTACT # $contact = $client->getContact($emailOrId, $listName); # # 8. GET MULTIPLE CONTACTS # $offset = 0; $limit = 20; $sort = 'ASC'; $unsubscribed = null; $list = null; $client->getContacts($offset, $limit, $sort, $unsubscribed, $listName); # # 9. GET TAGS FROM CONTACT