--- title: CartDiscountCode#code has been fixed to be case insensitive. - 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/cartdiscountcode-code-has-been-fixed-to-be-case-insensitive md: https://shopify.dev/changelog/cartdiscountcode-code-has-been-fixed-to-be-case-insensitive.md --- [Back to Developer changelog](https://shopify.dev/changelog) April 2, 2024 Tags: * Storefront GraphQL API * 2024-04 # CartDiscountCode#code has been fixed to be case insensitive. `CartDiscountCode#code` has been corrected to be case insensitive. For example, providing the input `["DISCOUNT", "dIsCoUnT", "discount"]` on `cartCreate` or `cartDiscountCodeUpdate` will return a cart payload with one `CartDiscountCode` with the `code` value set to `DISCOUNT`.