Hi
I have multiple products imported in another way, in some case i need to activate a differente StorageLevel at different location.
i see the function https://shopify.dev/docs/api/admin-graphql/2023-04/mutations/inventoryActivate
but is only for single ItemStorage!!
There is a way to ActivateInventory in a bulk way or massive?
thanks
1 Like
Hi @DanubioBlu 
The inventoryBulkToggleActivation
mutation should modify the activation status of an inventory item at locations.
Hope that helps!
1 Like
This Mutation can only alter one ItemStorage at time for multiple ItemStorageLevel. I don’t need this. I need to active on different (a lot ) of ItemStorage only one ItemLevel
4 Likes
Also like to bump this and point out the solution doesn’t help at all.
If I create a new Product with 100 variants and want to stock them at a specific location I have to make 101 API calls.
Why is there not a way to do this in bulk yet?
1 Like
Another major oversight from the Shopify DEV team. ALL APIs should have their bulk counterpart to optimise integrations and avoid abusing resources and API calls budget.
Reference:
The irony is that you can activate/inactivate in bulk via manual import stock CSV https://help.shopify.com/en/manual/products/inventory/getting-started-with-inventory/inventory-csv
- activate - set numeric stock level
- inactivate - set stock level to literal string “not stocked”
The number that you enter in each row can be positive, negative, or 0. You can also enter not stocked to indicate that the product is never stocked at the location.