New Shopify Certification now available: Liquid Storefronts for Theme Developers

Any graphql bulk operation to update inventory at a location?

newbie_01
Shopify Partner
29 0 6

As far as I can see, none of the mutations listed here can update inventory numbers.

(productVariantUpdate includes an inventory field, but it doesn't work for updates).

 

Is there a way to update inventory by the bulk procedure? Or the only way is using inventorySetOnHandQuantities or inventoryAdjustQuantities  looping in batches of 100 SKUs?

 

Thanks

 

NOTE: my use case is updating stock at an external warehouse (that fills orders from other stores too) so I can't keep track of inventory by subtracting my own sales.

Replies 0 (0)