--- title: Changes to Cart and CartLine on Storefront API - 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/changes-to-cart-and-cartline-on-storefront-api md: https://shopify.dev/changelog/changes-to-cart-and-cartline-on-storefront-api.md --- [Back to Developer changelog](https://shopify.dev/changelog) June 15, 2022 Tags: * API * 2022-07 # Changes to Cart and CartLine on Storefront API As part of the GraphQL Storefront API 2022-07 API release, the following are changes to have been made to the `Cart` and `CartLine` object: * New `attribute` field with a `key` argument * `estimatedCost` is renamed to `cost` on `Cart`. * `estimatedCost` is renamed to `cost` on `CartLine`. * Add `subtotalAmountEstimated`, `totalAmountEstimated`, `totalTaxAmountEstimated`, `totalDutyAmountEstimated` to `CartCost` * `amount` is renamed to `amountPerQuantity` on `CartLineCost`. * `compareAtAmount` is renamed to `compareAtAmountPerQuantity` on `CartLineCost`. Learn more about the `Cart` object on [Shopify.dev](https://shopify.dev/api/storefront/unstable/objects/Cart#top).