We are facing challenges while updating product options in product variants as options fields in GraphQL and Rest API are totally different. Below is the screen-shot:
We are using GraphQL to mutate product variant. So our challenge is, how can we send three different options (like, large, blue, paper) to product variant that make one variant as it takes only one [String!] value. Whereas in REST APIs, there are three different options (option1, option2, option3) along with Default Title.
Also, if possible can anyone share a dummy mutation request for this?
Below are the links that we are referring to:
@Max_Sadlowski , check this, just saw this solution.
Hope Shopify would have better documentation
thanks @iozyigit after staring at the documentation for about an hour I realized the string was surrounded in square brackets. It's still quite a pain as the query results and the mutation input are different set ups, not sure why they didn't have consistency across those two spots.