ARI API

Polling for changes

There is no "everything that changed since" query yet. These patterns cover the common integrations and keep reads low.

Patterns

What not to rely on

Do not use updatedAt or the lastModified sort to detect every change. They record when ARI's apps last saved the record, using the device's clock. Changes made by ARI's servers do not move them. Those include online payments, approvals and signatures in the Client Portal, and appointment reminders and cancellations.

Why reads are the limit that matters

A shop can read 300,000 records a day. A list whose filters and sort cannot use an index reads up to 1,000 matching records, or 2,000 for a summary, to sort them. So a poll for "unpaid invoices, newest first" every few minutes can use the day's reads by mid-morning, while "the newest 25 invoices" reads 25.

Watch the X-Reads-Used header while you build an integration, and poll with the narrowest query that works. The limits are on the overview.