We are currently developing in php.
I want to update the company name using hubspot’s api.
The test run of the hubspot api documentation allows me to change the company name without any problems, but the following code gives me a 400 error.
Can someone please help me? Please.
use HubSpot\Factory;
use HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInput;
Assuming you’re trying to update the default Contact property, “Company Name” --> this property’s internal name is “company”, not “companyname”. Hopefully the fix is as simple as that
I hope this proves useful. Please let me know if you have any follow-up questions.