Discuss all the new features introduced with the new product model in GraphQL.
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
I am using the `productCreate` mutation for creating a product along with 2 productOptions and within each productOptions, I set the values in a specific order. But after I create the product, these productOptions get sorted by Alphabetically.
Here is an example. Here is the productOptions I passed when I created the product
But after creating the product, this is what I see on the Shopify Admin of the product and the product page
How do I go about fixing this? Otherwise I have to manually fix this for every product I create using the API.
Hi @abishekrs
Currently, sorting is not possible in the productOptionCreate API.
I am setting the productOptions on the `productCreate` mutation and not `productOptionCreate` mutation.
Is there a solution to this? Is there a way to update the productOptions with the correct order after the product is created?