I talked with the team, and there was a change made due to a bug fix. Typically, we would give you a heads up on changes, but there was some miscommunition on our part and we did not notify you here. I apoloize for this and hope you are able to modify your code.
Here is the reasoning:
Bugfix: The public Owners API response is replacing team membership designation with a simple isPrimary flag.
Whats changing?
The GET `/crm/v3/owners/` endpoint, to fetch Owner information, includes the teams the owning user is able to access.
Up until now, we would specify the membership on that team as primary/child/secondary via the "membership" field.
However, this team membership information was not accurate as it was considering any non-primary team to also be a child-team. Therefore any secondary teams were being returned twice, marked as a child team as well.
Since these membership designations were inaccurate, we're replacing the "membership" field with a simple "primary" flag for each team the owning user can access. This flag is a simple boolean, `true` if the team is the owning user's primary team, and `false` otherwise.
I talked with the team, and there was a change made due to a bug fix. Typically, we would give you a heads up on changes, but there was some miscommunition on our part and we did not notify you here. I apoloize for this and hope you are able to modify your code.
Here is the reasoning:
Bugfix: The public Owners API response is replacing team membership designation with a simple isPrimary flag.
Whats changing?
The GET `/crm/v3/owners/` endpoint, to fetch Owner information, includes the teams the owning user is able to access.
Up until now, we would specify the membership on that team as primary/child/secondary via the "membership" field.
However, this team membership information was not accurate as it was considering any non-primary team to also be a child-team. Therefore any secondary teams were being returned twice, marked as a child team as well.
Since these membership designations were inaccurate, we're replacing the "membership" field with a simple "primary" flag for each team the owning user can access. This flag is a simple boolean, `true` if the team is the owning user's primary team, and `false` otherwise.