From 783386ee707968a26ebed83864d8e30896730698 Mon Sep 17 00:00:00 2001 From: Sokly Meach Date: Mon, 2 Jun 2025 10:57:40 -0500 Subject: [PATCH] ACP2E-3957: [Documentation] Update documentation regarding X-Magento-Cache-Id in graphQL mutation requests --- help/release/release-notes/commerce/2-4-7.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/help/release/release-notes/commerce/2-4-7.md b/help/release/release-notes/commerce/2-4-7.md index cf66d0216..67cfe44af 100644 --- a/help/release/release-notes/commerce/2-4-7.md +++ b/help/release/release-notes/commerce/2-4-7.md @@ -1514,6 +1514,10 @@ We have fixed hundreds of issues in the Adobe Commerce 2.4.7 core code. A subset * The declaration of the `is_subscribed` flag, its resolver, cache, and associated tests have been moved from the `CustomerGraphQl` module to the `NewsletterGraphQl` module. + + +* The X-Magento-Cache-Id header has been removed from GraphQL mutation responses. Since mutations are state-changing operations (such as adding items to the cart or placing an order), they are not meant to be cached. Including this header was misleading and could lead to incorrect behavior if caching were applied. This change aligns with GraphQL best practices and the core principles of Adobe Commerce’s architecture. + * The `addProductsToCart` mutation no longer reports unrelated errors in `user_errors`. Previously, errors related to the cart were included in `user_errors` along with the expected operation errors. [GitHub-37908](https://github.com/magento/magento2/issues/37908)