Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

Bulk update inventory quantities using inventorySetQuantities

Bulk update inventory quantities using inventorySetQuantities

JustinKillian
Shopify Partner
28 0 19

Hello there,

 

My app requires to update inventory quantities for (potentially) thousands of inventory items at a time.

I am looking at the mutation inventorySetQuantities which is available in the GraphQL API version 2024-07 and I have a couple of questions that I can't answer by looking at the public docs:

 

Thanks in advance!

Replies 3 (3)

JustinKillian
Shopify Partner
28 0 19

Update:

For those interested, I tried to the inventorySetQuantities in a bulk mutation and it does not work. The only question to answer now is, how many quantities can I update with a single inventorySetQuantities mutation?

I may try that later and will post it.

 

Cheers.

cloudev0
Shopify Partner
11 0 6

I'm using  inventorySetQuantities as well, the limit per request should be 250. Wish it was supported in bulk mutation though.

james148
Shopify Partner
31 0 15

For anyone interested we're able to update ~10k using this API in batches of 100 in about 20 seconds.