SevenShores\Hubspot\Tests\Integration\Resources\ContactsTest::createOrUpdateBatch PHP Method

createOrUpdateBatch() public method

public createOrUpdateBatch ( )
    public function createOrUpdateBatch()
    {
        $response = $this->contacts->createOrUpdateBatch([['email' => '[email protected]', 'properties' => [['property' => 'firstname', 'value' => 'joe'], ['property' => 'lastname', 'value' => 'user']]], ['email' => '[email protected]', 'properties' => [['property' => 'firstname', 'value' => 'jane'], ['property' => 'lastname', 'value' => 'user']]]]);
        $this->assertEquals(202, $response->getStatusCode());
    }