#tvanantwerp_data-sync-approaches

1 messages · Page 1 of 1 (latest)

viscid pulsarBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1290343374632648725

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

lethal delta
#

Hi 👋

How are you triggering these updates?

nocturne kelp
#

The updates are not triggered from Stripe webhook events from the object I want to sync. I'm syncing accounting data based on payouts, and including any updates to associated customer or product records too. The existence of a new payout doesn't necessarily mean any customer or product data was updated, though—just that somebody bought something.

#

I suspect that the vast majority of the time that these customer and product records associated with transactions won't have any updates to make, and I'd like to skip processing them if I can.

lethal delta
#

Unfortunately, as you noticed, we don't have an updated timestamp on our records.

#

I recommend you perform an initial sync of records to get the current state and then use .updated webhook events to keep records in sync

#

You could still perform full record updates but with a greater time between full refreshes