Imported orders not showing on new customer accounts

We’ve completed an import of all our order history into Shopify. The import was made via API. A quirky thing we did and might be relevant is that we first attached a placeholder email to the order - email which was not associated with any existing customer - and then we updated the email to a real one.

Our issue is that some clients are not seeing the whole order list in the new customer account, that is, even if such orders are indexed by customer in the backoffice/API, it is not on the customer account.

Something that ca be done is to run the OrderCustomerSet mutation to force a customer set on the order but we still need to understand the underlying problem.

Hi @Alvaro_Nter

Just to confirm - Did running the OrderCustomerSet mutation resolve this for you? Are there any similarities for customers where their full order list was not appearing?

Yes, running OrderCustomerSet solved the issue.

Aside for the placeholder email, nothing different.

We’ve reimported customers/orders, it seems fine now.

Good to hear @Alvaro_Nter - In that case all should be good moving forward, if you see this happening again it may be best to contact Shopify Support directly as they’ll be able to review store logs which can’t be done via the public dev forums here.