Is it possible to bulk update item inventory to absolute qty?
We checked "inventoryBulkAdjustQuantityAtLocation" method, but we need to send an absolute quantity, not an increase and decrease of qty.
Can anyone advise me?
Thanks in advance.
Hey @jungfine ,
Have you considered using the productVariantUpdate mutation in an admin bulk query?
Using the following method OUTLINED HERE, you can use the productVariantUpdate mutation in bulk, which would allow you to set absolute values for inventory levels/locations via inventorylevelinput on the inventoryQuantities field
hi @GrahamS looks like ProductVariantInput inventoryQuantities is a "Create only field", i guess it means you can set quantities only when creating variants, am I wrong ?
hi, what i did was to "bulk" download shopify inventory, compare it to "my warehouse" inventory and use the inventoryBulkAdjustQuantityAtLocation to set inventory adjustments
I thought about this kind of solution but I had my code really advanced in the other way so changing to this would ran out of time.
May be I woult need to implement it in a near future.