--- 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 metadata: effectiveApiVersion: 2024-04 affectedApi: - displayName: Storefront GraphQL API handle: storefront-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: false createdAt: '2024-04-02T14:11:12-04:00' postedAt: '2024-04-02T14:01:00-04:00' updatedAt: '2024-04-04T07:24:36-04:00' effectiveAt: '2024-04-02T14:01:00-04:00' --- 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`.