No productOptions field in the productUpdate Mutation?

I’m using 2024-04 API version. When I include the productOptions field in the productUpdate Mutation, it gives an error: userErrors’: [{‘field’: [‘productOptions’], ‘message’: ‘product_options cannot be specified during update’}]}}

But the doc includes this field. Is it not updated?

I want to update the product and clear the variants with productUpdate Mutation. This is my current behavior

Hello @jam_chan

productOptions is only available in productCreate.

If you want to clear the options and associated variants, please use productOptionsDelete mutation with the appropriate strategy for your workflow:

https://shopify.dev/docs/api/admin-graphql/2024-04/mutations/productOptionsDelete