---
title: >-
  Changes to variants and productOptions fields in ProductSetInput. - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/changes-to-variants-and-productoptions-fields-in-productsetinput
  md: >-
    https://shopify.dev/changelog/changes-to-variants-and-productoptions-fields-in-productsetinput.md
metadata:
  effectiveApiVersion: 2024-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-06-14T04:11:48-04:00'
  postedAt: '2024-07-01T00:00:00-04:00'
  updatedAt: '2024-06-19T15:01:24-04:00'
  effectiveAt: '2024-07-01T00:00:00-04:00'
---

July 1, 2024

Tags:

* Admin GraphQL API
* 2024-07

# 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/).
