Update a contact

Using the SDK

from cakemail.models import PatchContact

contact = api.contact.update(
    list_id=<list ID>,
    contact_id=<contact ID>,
    patch_contact=PatchContact(
        email='<new contact email address>'
    )
)
<?php

$contact = $api->contact->update([
    'list_id' => <list ID>,
    'contact_id' => <contact ID>,
    'patch_contact' => new \Cakemail\Lib\Model\PatchContact([
        'email' => '<new contact email address>'
    ])
])
Language
Authentication
OAuth2
Click Try It! to start a request and see the response here!