Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Preserve line properties in CartLinesUpdate mutation

API

The CartLinesUpdate 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.