Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

New validation against duplicate variant IDs in productSet mutation input

As of the 2024-07 version of the Admin GraphQL API, the id field in the ProductVariantSetInput will have validation to prevent duplicate values.

This enhancement ensures that there are no collisions when updating variants.

Learn more about productSet on Shopify.dev.

Was this section helpful?