# Changes to `variants` and `productOptions` fields in `ProductSetInput`. — Shopify developer changelog
---
## Changes to `variants` and `productOptions` fields in `ProductSetInput`.

As of the 2024-07 version of the Admin GraphQL API, the `variants` and `productOptions` fields in the [ProductSetInput](https://shopify.dev/docs/api/admin-graphql/2024-07/input-objects/ProductSetInput) will become optional. The fields are codependent, meaning they must either both be present or both be absent.

Learn more about [productSet](https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/productSet) on [Shopify.dev](https://shopify.dev/).

*Published: July 01, 2024*
Tags: API, Update
Link: https://shopify.dev/changelog/changes-to-variants-and-productoptions-fields-in-productsetinput

---