Partial updates for bulk product variants mutation
API
Effective February 28, 2023
In the Admin GraphQL API version 2023-04, you can use the productVariantsBulkUpdate
mutation to update valid variants even if some variants are invalid. The new allowPartialUpdates
parameter is optional and defaults to false
for backwards compatibility, but by enabling it, the mutation will modify valid variants, instead of not updating any variants due to invalid variants.
Learn more about the mutation here.