Skip to main content
Events, orders and tickets have an updatedAt. To keep your own copy up to date without fetching everything each time:
  1. Remember the time you start a sync.
  2. Fetch the changes since the start of your previous sync, sorted on updatedAt:
  3. Page through all results and save each item by its id, replacing what you had.
  4. Store the time from step 1 for the next sync.
Using the start time of the previous sync (not its end) means you never miss a change made while a sync was running. You may get some items twice; saving by id handles that.

What changes updatedAt

Run a full sync now and then, for example once a night, to pick up refunds on older orders.