Update multiple variants of multiple products in one bulk operation

hello,

i am trying to figure out how i could update multiple variants of multiple products in the same bulk operation.

after going through the shopify graphql admin API, i only found an endpoint that allows bulk updating multiple variants (productVariantsBulkUpdate) but they must belong to the same product since i pass the product ID in the mutation parameters/arguments.

what i would like to do is update the variants of multiple products in the same bulk operation.

or if anyone has a suggestion of maybe a better way i can accomplish my goal.

2 Likes