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

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

Create a property on every contact object to store a specific piece of data. In the example below, we want to store an invoice number on a separate field on deals.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/create_contacts_property
public create ( array $property ) : Response
$property array
Результат SevenShores\Hubspot\Http\Response
    function create($property)
    {
        $endpoint = "https://api.hubapi.com/contacts/v2/properties";
        $options['json'] = $property;
        return $this->client->request('post', $endpoint, $options);
    }