---
title: >-
  Change in productSet mutation error code for suspended product - 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/posts/change-in-productset-mutation-error-code-for-suspended-product
  md: >-
    https://shopify.dev/changelog/posts/change-in-productset-mutation-error-code-for-suspended-product.md
metadata:
  effectiveApiVersion: 2025-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Breaking API Change
    handle: breaking-api-change
  indicatesActionRequired: true
  createdAt: '2025-04-11T07:36:54-04:00'
  postedAt: '2025-04-17T12:00:00-04:00'
  updatedAt: '2025-04-15T10:18:16-04:00'
  effectiveAt: '2025-04-12T12:00:00-04:00'
---

April 17, 2025

# Change in `productSet` mutation error code for suspended product

DateApril 17, 2025

Version[2025-07](https://shopify.dev/changelog?api_version=2025-07)

Flags[Breaking API Change](https://shopify.dev/changelog?filter=breaking-api-change)[Action required](https://shopify.dev/changelog?action_required=true)

SurfacesAPI

Affected APIs[Admin GraphQL API](https://shopify.dev/changelog?api_type=admin-graphql)

As of the `2025-07` version of the GraphQL Admin API, an attempt to update a suspended product using `productSet` mutation will now return [`PRODUCT_SUSPENDED`](https://shopify.dev/docs/api/admin-graphql/2025-07/enums/ProductSetUserErrorCode#enum-PRODUCT_SUSPENDED) error code instead of [`INVALID_PRODUCT`](https://shopify.dev/docs/api/admin-graphql/2025-07/enums/ProductSetUserErrorCode#enum-INVALID_PRODUCT).

For more detailed information and examples, visit our [`productSet` documentation](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/productSet) on Shopify.dev.
