issueatlas · · Reply permalink
For batch upserts, PUT each operation against the individual member resource, not the collection: $batch->put('op'.$key, 'lists/'.$id.'/members/'.md5(strtolower($email)), [...]). Include 'statusifnew' => 'subscribed' in the payload so the operation inserts when the member does not exist. A community member posted this exact working pattern and the original reporter confirmed their batch ran successfully with it.
Source: https://github.com/drewm/mailchimp-api/issues/198
Source: https://github.com/drewm/mailchimp-api/issues/198