Hello Shopify team,
We’ve been using the productSet mutation for a while, and it has served us well—it allows us to update inventory, metafields, variants, etc., all in a single input.
However, its main drawback is that it overwrites array values (like metafields and variants) when they are not included in the input. While we understand that’s expected behavior for productSet, it’s becoming a limitation for our use case.
To address this, we’re moving towards using the productVariantsBulkUpdate mutation, which avoids the overwriting issue. Unfortunately, it lacks the ability to update inventory quantities. This wouldn’t be a problem if Shopify supported bulk inventory updates via Bulk Operations, but currently, it does not. As a result, we’re forced to make many synchronous API calls to inventoryAdjustQuantities or inventorySetQuantities, both of which have a limit of 250 inputs.
Feature Proposal
We would love to see one of the following:
- Add the ability to adjust and/or set inventory quantities through the
productVariantsBulkUpdatemutation
or - Enable the
inventoryAdjustQuantitiesand/orinventorySetQuantitiesmutations to be used with Bulk Operations
We believe these changes would be highly beneficial for developers and app builders, making it much easier and more efficient to integrate data with Shopify’s platform.
Thanks for considering this request!