---
title: >-
  Additional cart item properties available in Shopify's AJAX API response -
  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/additional-cart-item-properties-available-in-shopify-s-ajax-api-response
  md: >-
    https://shopify.dev/changelog/additional-cart-item-properties-available-in-shopify-s-ajax-api-response.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2019-07-08T13:49:15-04:00'
  postedAt: '2019-07-08T00:00:00-04:00'
  updatedAt: '2024-02-02T10:04:54-05:00'
  effectiveAt: '2019-07-08T00:00:00-04:00'
---

July 8, 2019

Tags:

* API

# Additional cart item properties available in Shopify's AJAX API response

We've added new properties on cart items listed in the JSON response of [Shopify's AJAX API](https://help.shopify.com/en/themes/development/getting-started/using-ajax-api). Each cart item listed in the `items` array has the following additional properties.

* `featured_image`: an object with the varaint image's `alt text`, `aspect_ratio` and `url`.
* `options_with_values`: an array of objects with each product option's `name` and `value`.
* `product_has_only_default_variant`: a boolean describing if the product only has a default variant.

This gives theme developers more information about cart items when working with the AJAX API to build storefront designs.

To learn more about interacting with the cart through AJAX calls, read about the [Shopify's AJAX API](https://help.shopify.com/en/themes/development/getting-started/using-ajax-api) in the Shopify Help Center.

You can also read about these new properties' Liquid equivalent in the [`line_item` object](https://help.shopify.com/en/themes/liquid/objects/line_item) in the Shopify Help Center.
