I have seen someone asking the question but looks like there are no solutions.
Would like to describe why this is a needed functionality. Using an ERP system as the source of truth for high volume enterprise clients is a MUST functionality to do a fast synchronization with different sale channels, Shopify in the actual case.
Using the SET from the rest API is OK to synchronize the inventory quantities, but you need to do one item per single call, so the bulk method is a lot faster. If I'm not mistaken you can update 100 items per second. (please correct me if I'm wrong).
The problem with adjust is that we need to do a previous call to fetch the inventory values we want to update.
After we need to find the delta = (Our quantity - shopify quantity), then use this as value for avaiableDelta. Really a bad way to do it as during the time we fetch the data, manipulate the values and do again the call to shopify with adjustment, it might happen that some of the inventory is already updated (customer bought something, etc...), which mean desynchronization, but as well not as fast as doing a single call.
I really hope to see this feature added so high volume enterprise clients will be much happier.
Thank you and looking forward to it.
did you find a good solution to do this?
We are in same situation needing to SET inventory. On some endpoints we have given up on REST and switched to REST (translations, pricelists). Now we are looking into update/syncing the inventory from ERP.
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023