SevenShores\Hubspot\Resources\Keywords::create PHP Method

create() public method

Create a new keyword.
public create ( array $keyword ) : Response
$keyword array
return SevenShores\Hubspot\Http\Response
    function create($keyword)
    {
        $endpoint = "https://api.hubapi.com/keywords/v1/keywords";
        $options['json'] = $keyword;
        return $this->client->request('put', $endpoint, $options);
    }