SevenShores\Hubspot\Resources\ContactProperties::createGroup PHP Метод

createGroup() публичный Метод

Create a new contact property group to gather like contact-level data. Property groups allow you to more easily manage properties in a given portal and make contact records easier to parse for the user.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/create_contacts_property_group
public createGroup ( array $group ) : Response
$group array Group properties
Результат SevenShores\Hubspot\Http\Response
    function createGroup($group)
    {
        $endpoint = "https://api.hubapi.com/contacts/v2/groups";
        $options['json'] = $group;
        return $this->client->request('post', $endpoint, $options);
    }