SevenShores\Hubspot\Resources\DealProperties::update PHP Method

update() public method

Update a specified deal property.
See also: http://developers.hubspot.com/docs/methods/deals/update_deal_property
public update ( string $name, array $property ) : Response
$name string
$property array
return SevenShores\Hubspot\Http\Response
    function update($name, $property)
    {
        $endpoint = "https://api.hubapi.com/deals/v1/properties/named/{$name}";
        $property['name'] = $name;
        $options['json'] = $property;
        return $this->client->request('put', $endpoint, $options);
    }
DealProperties