Allow adding Contacts to Contact Groups
When you GET a Contact via the API you are returned the ContactGroups that they belong to. But if you try and update their ContactGroups with a PUT or POST the API will just ignore the ContactGroups XML element.
It would be really useful for automating the organisation of Contacts, if you allowed us to update the ContactGroups for a Contact in a similar way that you can add LineItems to an Invoice.
Also - adding / removing contacts to / from a group in the Xero UI should also update the contacts last updated timestamp so that they will be detected in a sync and the new list of groups they belong to can be examined.
We are glad to announce the release of the ContactGroups endpoint which allows this functionality: https://community.xero.com/developer/discussion/6512619/
Three year wait since this feature was requested is too long. I need this feature today.
AdminXero API (Admin, Xero API) commented
Merged both contact group threads. No ETA yet for support of this feature just yet.
This should be merged with http://xero.uservoice.com/forums/5528-xero-api/suggestions/1973975-allow-adding-contacts-to-contact-groups
Without this feature, the Xero API is too clunky and unusable without excessive in-efficient code.