---
title: cartLinesRemoveDefault
description: Creates a function that accepts an array of line ids and removes the line items from a cart
api_version: 2026-04
api_name: hydrogen
source_url:
  html: https://shopify.dev/docs/api/hydrogen/latest/utilities/cartlinesremovedefault
  md: https://shopify.dev/docs/api/hydrogen/latest/utilities/cartlinesremovedefault.md
---

cart​Lines​Remove​Default

Not supported in this version.