App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hey Guys
I am updating roughly 1500 variants with new stock levels each hour and that takes for ever. Is there any way of sending this to shopify in bulk, via api or file? I will soon add another 500-1000 variants and that will make it even more inefficient.
I looked into GraphQL but it seems i can only update the delta for one product at the time and that means for every variant i still need to make at least one call.
Is there anything else to try?
Hey @Knofan
Have you checked any app to update variants?
How are you currently updating the variants ?
Right now i use ShopifySharp and update them through the rest api, one at a time. Im worried this will be so slow i cant add more products.
I really try to only make one call per style tho. But its still slow. Right now i have about 2000 variants and if i can update 2 per second (and i cant) it will take half an hour. That is way to slow.
I have not checked any apps, is there anything that can be automated?
Well I would check out any app on app store for bulk inventory update. But if you need to bulk update regularly than you would need some app or even if you are updating it one time than it is worth paying for the app too
These are the available bulk mutations via the API:
https://shopify.dev/docs/api/usage/bulk-operations/imports
Might be possible to do it with productVariantUpdate.
Hello @Knofan,
It seems you will need to have a custom app exactly for your store to implement "productVariantUpdate" via GraphQL request. At your end, you will need to scope together multiple variants updates to some batches like 50pcs per request and this way update the entire set as you need. So your system either should have the existing connection to be adjusted in the way I describe above + you should implement and register the private app for Shopify OR you need to build a middleware that speaks to your ERP (or whatever you used to store stock levels) and then translate those batches to the private Shopify app.
Please, get in touch if you need any assistance.
Best regards,
Anastasia