# Bulk import data

**URL:** <https://community.shopify.dev/t/bulk-import-data/2662>\
**Category:** GraphQL Admin API Troubleshooting\
**Tags:** general-gql-troubles\
**Created:** [November 19, 2024, 11:11am UTC](https://community.shopify.dev/t/bulk-import-data/2662 "2024-11-19T11:11:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaron\_Mauricio\_Casca](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jaron\_Mauricio\_Casca](https://community.shopify.dev/u/Jaron_Mauricio_Casca)\
**Post date:** [November 19, 2024, 11:11am UTC](https://community.shopify.dev/t/bulk-import-data/2662/1 "2024-11-19T11:11:04Z")

</div>

Hi there! I need a favor. Right now, I need to perform a bulk import to update the inventory of some products. I used this documentation `(https://shopify.dev/docs/api/usage/bulk-operations/imports)` with the `productVariantsBulkUpdate` mutation. I’d like to know if there’s another way to make this update, or if it cannot be done in bulk.

---

<div class="post-metadata">

**Author:** ![Daniel\_Ablestar](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/daniel_ablestar/32/332_2.png) [@Daniel\_Ablestar](https://community.shopify.dev/u/Daniel_Ablestar)\
**Post date:** [November 19, 2024, 11:53am UTC](https://community.shopify.dev/t/bulk-import-data/2662/2 "2024-11-19T11:53:22Z")

</div>

Hi Jason,

I’d suggest taking a look at the [inventorySetQuantities](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/inventorySetQuantities) mutation to update inventory quantities. You’ll need the following for each level you want to update:

- the location ID
- the inventory item ID
- the new amount

Depending on your use-case, you might also want to set `ignoreCompareQuantity=false` if you’re running into issues with passing the current level in `compareQuantity`.

Best,  
Daniel

---

<div class="post-metadata">

**Author:** ![Jaron\_Mauricio\_Casca](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jaron\_Mauricio\_Casca](https://community.shopify.dev/u/Jaron_Mauricio_Casca)\
**Post date:** [November 19, 2024, 3:11pm UTC](https://community.shopify.dev/t/bulk-import-data/2662/3 "2024-11-19T15:11:45Z")

</div>

Thank you for the response, but I have another question. In the documentation for _Bulk Import Data with the GraphQL Admin API_, it states that `bulkOperationRunMutation` has limitations for running processes in bulk. It allows only a defined list of mutations that can be executed. Can this mutation be executed in `bulkOperationRunMutation`?

---

<div class="post-metadata">

**Author:** ![kyle\_liu](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/kyle_liu/32/14392_2.png) [@kyle\_liu](https://community.shopify.dev/u/kyle_liu)\
**Post date:** [November 20, 2024, 3:05am UTC](https://community.shopify.dev/t/bulk-import-data/2662/4 "2024-11-20T03:05:10Z")

</div>

Hi @Jaron_Mauricio_Casca

No, only mutations from the list are accepted

---

<div class="post-metadata">

**Author:** ![Jaron\_Mauricio\_Casca](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jaron\_Mauricio\_Casca](https://community.shopify.dev/u/Jaron_Mauricio_Casca)\
**Post date:** [November 28, 2024, 10:47pm UTC](https://community.shopify.dev/t/bulk-import-data/2662/5 "2024-11-28T22:47:52Z")

</div>

Ok, then, isn’t there a way to update the inventory in bulk? It just doesn’t make sense that it can’t be done!

---

<div class="post-metadata">

**Author:** ![Jan\_Kunzmann](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Jan\_Kunzmann](https://community.shopify.dev/u/Jan_Kunzmann)\
**Post date:** [January 13, 2025, 10:32am UTC](https://community.shopify.dev/t/bulk-import-data/2662/6 "2025-01-13T10:32:24Z")

</div>

There seams to be a need to bulk updating inventory quantities in a bulk. why was inventoryBulkAdjustQuantityAtLocation declared deprecated? in the docs they argue that its about addind comments to the adjustment. i can’t see why this should not be possible with a bulk operations. the overhead on both sides integration and shopify is huge if you want to update thousands of skus  
?
