DrewM\MailChimp\Batch::put PHP Method

put() public method

Add an HTTP PUT request operation to the batch - for creating new items
public put ( string $id, string $method, array $args = [] ) : void
$id string ID for the operation within the batch
$method string URL of the API request method
$args array Assoc array of arguments (usually your data)
return void
    public function put($id, $method, $args = array())
    {
        $this->queueOperation('PUT', $id, $method, $args);
    }