Discuss all the new features introduced with the new product model in GraphQL.
productVariantsBulkUpdate has replaced the deprecated productVariantUpdate for single variant updates in 2024-10
However productVariantsBulkUpdate is missing requiresComponents from the allowed input fields:
productVariantsBulkUpdate - missing requiresComponents
https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/productVariantsBulkCreate#argument-variants
productVariantUpdate - allows requiresComponents
https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/productVariantUpdate#argument-input
Somewhat understandable as previously there wouldn't have been a strong need to add requiresComponents in a variant bulk update - but now that bulk update is the preferred approach for single variant updates, this value should be available.
Hi @AV_SL ,
This looks to be an oversight on our part. The two mutations should have logically similar inputs, so adding requiresComponent to the bulkInput shouldn’t be a problem. Thanks for reporting this issue, we will write a fix up for this ASAP and report back to you.
Thanks so much for the prompt response @AsafGitai Appreciate it!