Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

update multiple variants of multiple products in one bulk operation

update multiple variants of multiple products in one bulk operation

huss1
Shopify Partner
1 0 2

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.

Replies 0 (0)