GraphQL productVariantsBulkUpdate option mapping

Hello everyone!

Is it just me, or is it very strange that when you update a products’ options, it’s done so blindly? There’s no K:V mapping for Option:Value?

For example, on a productVariantsBulkUpdate graphql call, you only have the option to pass options: [“option1”, “option2”, “option3”]

But what if the option order is unknown? For example: Size & Color… option1 could be size.. or it could be color. What’s the best way to deal with this in bulk?

Additionally, I can’t figure out how to add options using productVariantsBulkUpdate . Essentially, I have a new option that needs to be applied to variants, and I’d like to do it in bulk.