---
title: >-
  The cartDiscountCodeUpdate mutation now requires the discountCodes field -
  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/the-cartdiscountcodeupdate-mutation-now-requires-the-discountcodes-field
  md: >-
    https://shopify.dev/changelog/posts/the-cartdiscountcodeupdate-mutation-now-requires-the-discountcodes-field.md
metadata:
  effectiveApiVersion: 2026-01
  affectedApi:
    - displayName: Storefront API
      handle: storefront-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: true
  createdAt: '2025-10-24T11:38:01-04:00'
  postedAt: '2025-10-30T15:00:00-04:00'
  updatedAt: '2026-08-04T13:44:17-04:00'
  effectiveAt: '2025-10-27T09:00:00-04:00'
---

October 30, 2025

# The `cartDiscountCodeUpdate` mutation now requires the `discountCodes` field

DateOctober 30, 2025

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

FlagsUpdate[Action required](https://shopify.dev/changelog?action_required=true)

SurfacesAPI

Affected APIs[Storefront API](https://shopify.dev/changelog?api_type=storefront-graphql)

As part of the [GraphQL Storefront API 2026-01 release](https://shopify.dev/docs/api/storefront/2026-01/mutations/cartdiscountcodesupdate), the `cartDiscountCodesUpdate` mutation now requires the `discountCodes` argument to be included. Previously, mutation calls without the `discountCodes` argument were allowed, but would not actually modify the cart in any way.

For more information about the `Cart` object and its related mutations, visit [Shopify.dev](https://shopify.dev/api/storefront/unstable/objects/Cart).
