Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Getting Started >

Accounting>Items If-Modified-Since UTC timestamp - when is it applied?

Started by Carl Barnard -   in Getting Started

I am trying to sync another system with Xero tracked inventory QuantityOnHand by simply updating the other system's inventory when Xero QuantityOnHand changes, which is almost always when a customer invoice is approved, a supplier bill is entered and approved, or an adjustment made to a tracked inventory item.

So I am using the If-Modified-Since header in the hope that it will pick up items where the QuantityOnHand has changed. But it works only in a very small number of cases and quite possibly because something else other than QuantityOnHand has changed. I imported a supplier bill for 70 different items today and nothing was picked up.

Any help or advice with this much appreciated,