---
title: >-
  Storefront API changes when Cart ID is missing the key param - 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/storefront-api-changes-when-cart-id-is-missing-the-key-param
  md: >-
    https://shopify.dev/changelog/storefront-api-changes-when-cart-id-is-missing-the-key-param.md
metadata:
  effectiveApiVersion: ''
  affectedApi:
    - displayName: Storefront GraphQL API
      handle: storefront-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-08-08T13:29:42-04:00'
  postedAt: '2024-08-15T11:00:00-04:00'
  updatedAt: '2024-08-15T17:18:01-04:00'
  effectiveAt: '2024-08-15T11:00:00-04:00'
---

August 15, 2024

Tags:

* Storefront GraphQL API

# Storefront API changes when Cart ID is missing the key param

We are modifying how cart queries and mutations behave when the [Storefront API Cart ID](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/cart/manage#cart-id) is missing the key param. This behavior is applied retroactively to all versions of the Storefront API.

An example cart ID: gid://shopify/Cart/c1-7a2abe82733a34e84aa472d57fb5c3c1?**key=824bdj25mhg1242bdb385**

* **Queries:** Querying a cart without including the key param will result in a cart with the buyer's private details removed.

* **Mutations** Updating a cart without including the key param will result in an error : `The specified cart does not exist`.
