intercom / intercom-dotnet

Intercom API client library for .NET
https://developers.intercom.io/reference
Apache License 2.0
63 stars 53 forks source link

Company website not updated when creating a company in a user create/update call #108

Closed thewheat closed 6 years ago

thewheat commented 6 years ago

Using the latest 1.0.31 version available: https://www.nuget.org/packages/Intercom.Dotnet.Client/ image

Other company fields will likely be affected like size and industry as indicated by this PR https://github.com/intercom/intercom-dotnet/pull/86

kmossco commented 6 years ago

The problem seems to be how we construct the JSON body for the requests and needs to be overhauled. I believe the problem is here:

https://github.com/intercom/intercom-dotnet/blob/7d2dff504425daa797ceb8bf2d91af2049fa25ba/src/Intercom/Clients/UsersClient.cs#L407-L442

So even if you send more details than the ones there in this method, they won't be sent. 😞