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.
New fields amount and compareAtAmount on the Storefront API CartLineEstimatedCost object
Effective July 01, 2022
As of GraphQL Storefront API version 2022-07, the
CartLineEstimatedCost object has two new fields:
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.