Tags:
- Action Required
- Storefront GraphQL API
- 2026-01
The cartDiscountCodeUpdate mutation now requires the discountCodes field
cartDiscountCodeUpdate mutation now requires the discountCodes fieldAs part of the GraphQL Storefront API 2026-01 release, the mutation now requires the agrument to be included. Previously, the mutation would accept a mutation with no argument, which would not actually modify the cart in any way.
For more information about the Cart object and its related mutations, visit Shopify.dev.
Was this section helpful?