--- title: Storefront API now supports cart attributes with blank keys or values - 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-now-supports-cart-attributes-with-blank-keys-or-values md: https://shopify.dev/changelog/storefront-api-now-supports-cart-attributes-with-blank-keys-or-values.md --- [Back to Developer changelog](https://shopify.dev/changelog) April 8, 2025 Tags: * Storefront GraphQL API # Storefront API now supports cart attributes with blank keys or values The GraphQL Storefront API now supports setting [cart attributes](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-attributes) with either blank keys or values. This change applies to all API versions. This matches the behavior of the [AJAX API](https://shopify.dev/docs/api/ajax/reference/cart#update-cart-attributes), which allows for setting blank keys and attributes.