Full support for If-Modified-Since flag
Regarding this endpoint:
https://developer.xero.com/documentation/api/accounting/contacts
Regarding the GET request, the "Modified After" field documentation states:
"The ModifiedAfter filter is actually an HTTP header: ' If-Modified-Since'. A UTC timestamp (yyyy-mm-ddThh:mm:ss) . Only contacts created or modified since this timestamp will be returned e.g. 2009-11-12T00:00:00 Note: changes to the Balances, IsCustomer or IsSupplier values will not trigger a contact to be returned with the Modified-After filter"
Request is to ensure Balances, IsCustomer and IsSupplier DO trigger the contact to be returned with the Modified-After filter.
Reality is that these values do change, so the only way to ensure we have accurate data is to conduct a full sync on all contact-related tables on some schedule (eg. daily). Because that requires individual API requests per contact, this leads us to hit the 5,000 API requests per day limit.
This issue was raised for one of these fields ten years ago and there is no response from Xero on the earlier ticket, so I am raising this new: