---
title: >-
  productVariantsBulkUpdate mutation returns data along with errors - 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/productvariantsbulkupdate-mutation-returns-data-along-with-errors
  md: >-
    https://shopify.dev/changelog/productvariantsbulkupdate-mutation-returns-data-along-with-errors.md
metadata:
  effectiveApiVersion: 2023-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2023-03-07T12:00:26-05:00'
  postedAt: '2023-04-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:37-05:00'
  effectiveAt: '2023-04-01T00:00:00-04:00'
---

April 1, 2023

Tags:

* API
* 2023-04

# productVariantsBulkUpdate mutation returns data along with errors

In the Admin GraphQL API version **2023-04**, the `productVariantsBulkUpdate` mutation will return `product` and `productVariants` data even when errors are present. Previously, the mutation would always return `null` for the `product` and `productVariants` data.

Learn more about the mutation [here](https://shopify.dev/docs/api/admin-graphql/2023-04/mutations/productvariantsbulkupdate).
