Include contacts that have been converted to customers (or suppliers) when "If-Modified-Since" filter is applied
When a contact is created in Xero it is not until after an invoice has been created that it gets converted to a customer (or supplier). Which is expected.
However when the "If-Modified-Since" filter is used on the GET Contacts endpoint where the "If-Modified-Since" date is after the contact is created but before the conatct as made into a supplier (i.e. after the isCustomer or isSuppler flag flips from false to true in the body of the Contact response) then the contact is not returned in the response.
I sugget a change that when a contact is converted to a supplier or a customer that the last modified date is updated so it picked up by "If-Modified-Since" filter.
![](https://secure.gravatar.com/avatar/5b9ebad9237afd0834a1bd643444c3ff?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Anonymous commented
Or at least document this somewhere as it's a tricky little edge case.