---
title: ChangingCartLine from an Object to an Interface - 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/changing-cartline-from-an-object-to-an-interface
  md: >-
    https://shopify.dev/changelog/changing-cartline-from-an-object-to-an-interface.md
metadata:
  effectiveApiVersion: 2023-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: true
  createdAt: '2023-03-01T10:23:15-05:00'
  postedAt: '2023-04-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:37-05:00'
  effectiveAt: '2023-04-01T00:00:00-04:00'
---

April 1, 2023

Tags:

* Action Required
* API
* 2023-04

# Changing`CartLine` from an `Object` to an `Interface`

As part of the GraphQL Storefront API **2023-04** API release, we are creating `BaseCartLine` as an interface to `CartLine` and we are updating `CartLineConnection` to `BaseCartLineConnection`.

Learn more about the `Cart` object on [Shopify.dev](https://shopify.dev/api/storefront/unstable/objects/Cart#top).
