intercom-php
intercom-php copied to clipboard
Update Company::update method to support providing an id.
Allow update method to update a specified company with an id.
Why?
The API supports the update via ID but not the SDK. There is a workaround but it is not clean to use directly the client.
How?
I added the ID in the arguments of the update method and added a BC layer to avoid breaking apps or having to bump a major version.
On next major version, the BC layer will need to be removed.