---
title: >-
  Preserve line properties in CartLinesUpdate mutation - 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/preserve-line-properties-in-cartlinesupdate-mutation
  md: >-
    https://shopify.dev/changelog/preserve-line-properties-in-cartlinesupdate-mutation.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-06-13T11:41:56-04:00'
  postedAt: '2024-06-13T11:29:00-04:00'
  updatedAt: '2024-12-13T17:24:41-05:00'
  effectiveAt: '2024-06-13T11:29:00-04:00'
---

June 13, 2024

Tags:

* Storefront GraphQL API
* 2024-04

# Preserve line properties in CartLinesUpdate mutation

The [CartLinesUpdate](https://shopify.dev/docs/api/storefront/2024-04/input-objects/CartLineUpdateInput#field-cartlineupdateinput-attributes) mutation behavior has been updated to preserve existing line properties when the attributes parameter is either omitted or explicitly set to null. Previously, omitting the attributes parameter would reset the line properties. Passing an empty hash `{ }` to reset line properties is an existing capability and remains unchanged.
