intercom-php icon indicating copy to clipboard operation
intercom-php copied to clipboard

Update Company::update method to support providing an id.

Open MinDBreaK opened this issue 3 years ago • 0 comments

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.

MinDBreaK avatar Jan 06 '22 14:01 MinDBreaK