Addition of shopifyCustomer model + full resync on store not backfilling some customerIds
We have only recently added the
shopifyCustomer
model to our app, and we have done a full re-sync on our development stores — however on our shopifyOrder
model only a small percentage of orders have the customerId backfilled once this process has run. There doesn't seem to be any pattern as to which orders get backfilled and which don't — I thought maybe it was the 60-day order limit, but we've got orders from more than 6 months ago that have been backfilled with a customerId.
url: platform.authentified.co12 Replies
Hello,
Looking at your data, it actually looks like the orders that don't have customerIds are the ones that are newest
Could I recommend that you start a sync with the following models?
- shopifyCustomer
- shopifyOrder
Don't add a syncSince or other non-required fields
No dice — ran that sync on all 3 shops and still heaps of orders not backfilled. In fact the only records that are being updated are shopifyOrderLineItem, no mention of shopifyCustomer or shopifyOrder
Traceid: 8f133415bcdc0f84ae411b3bde093d99
Could you please share what you filled out in the protected customer data access form?
Could you also please try another sync and use the force flag?
Here's an example sync call:
Did that, still no luck — it has backfilled some, but it's only gone back to about 2023-12-23 and then stopped for some reason. ShopId is 13705159.
Sorry, do you have the most recent data filled or no?
Most recent yes but then it stops at December 2023 for some reason
I'm not sure why that would be. Have you asked shopify if there was a limit to the all orders scope?
I don't see why there should be
hey Dave! just want to make sure- are you sure you passed the
force: true
in your run sync call? As I don't seem to see any forced syncs in your ShopifySync tableHi Jenny, yes I've been using force true on all of them
@Dave, do you mind if I try running a sync for you?
Go for it
Hey Dave- just ran a force sync for you for your demo store and I can see the Hm actually, the records I were looking at did backfill but it seems some didn't still. Let me take another look - nvm those records belong to different stores! You'll need to run a force sync for all your stores!
Customer
values on the orders are now backfilled! You'll notice that the most recent Sync record (with Id: 1580) has a force
value of true
- while the other sync records do not. Just curious how you were passing the force value when triggering your syncs?