Hey all,
I’m building a Shopify app that needs to sync products (and their variants) from an ERP once a day. The ERP exports product data to an FTP server, and my app reads that data to figure out:
- Which products need to be created
- Which products need to be updated
- Which products need to be deleted
I’m using bulkOperationsRunMutation to handle these operations in batches, but I’ve noticed you can’t do create, update, and delete all in one go. Right now, I’m leaning towards calling one bulk mutation at a time—waiting for each to finish—before starting the next.
Has anyone found a better approach for handling multiple actions (create/update/delete) on the same batch of products and their variants? Also, what’s the best strategy for creating or updating variants in the same step?
Any insights or suggestions would be awesome. Thanks!