---
title: >-
  New fields amount and compareAtAmount on the Storefront API
  CartLineEstimatedCost object - 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/new-fields-amount-and-compareatamount-on-the-storefront-api-cartlineestimatedcost-object
  md: >-
    https://shopify.dev/changelog/new-fields-amount-and-compareatamount-on-the-storefront-api-cartlineestimatedcost-object.md
metadata:
  effectiveApiVersion: 2022-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2022-04-01T11:33:49-04:00'
  postedAt: '2022-07-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:33-05:00'
  effectiveAt: '2022-07-01T00:00:00-04:00'
---

July 1, 2022

Tags:

* API
* 2022-07

# New fields amount and compareAtAmount on the Storefront API CartLineEstimatedCost object

As of GraphQL Storefront API version 2022-07, the `CartLineEstimatedCost` object has two new fields: `amount` and `compareAtAmount`. Both fields return an object of type `MoneyV2`. These new fields allow the price of a product variant on a cart to be queried using `buyerIdentity` as the context driver.

Learn more about these fields on [Shopify.dev](https://shopify.dev/api/storefront/current/objects/CartLineEstimatedCost#fields).
