-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Hi,
I was just looking for examples to do filtering in lists and I spotted this repo in GitHub, thanks for the contribution.
I'm not using this code, but something else, however this example doesn't seem correct:
$result = $mc->post('lists', [
'name' => 'New list',
'permission_reminder' => 'You signed up for updates on Greeks economy.',
'email_type_option' => false,
'contact' => [
'company' => 'Doe Ltd.',
'address1' => 'DoeStreet 1',
'address2' => '',
'city' => 'Doesy',
'state' => 'Doedoe',
'zip' => '1672-12',
'country' => 'US',
'phone' => '55533344412'
],
'campaign_defaults' => [
'from_name' => 'John Doe',
'from_email' => 'john@doe.com',
'subject' => 'My new campaign!',
'language' => 'US'
]
]);
From what I understand you also need to set visibility 'prv' or 'pub'
and set use_archive_bar true or false
.
Metadata
Metadata
Assignees
Labels
No labels