---
title: cartClone - Storefront API
description: Creates a clone of the specified cart with all personally identifiable information removed.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/mutations/cartClone
  md: https://shopify.dev/docs/api/storefront/latest/mutations/cartClone.md
---

# cart​Clone

mutation

Creates a clone of the specified cart with all personally identifiable information removed.

## Arguments

* cart​Id

  [ID!](https://shopify.dev/docs/api/storefront/latest/scalars/ID)

  required

  The ID of the cart to clone.

***

## Cart​Clone​Payload returns

* cart

  [Cart](https://shopify.dev/docs/api/storefront/latest/objects/Cart)

  The newly created cart without PII. This is a different cart from the source.

* user​Errors

  [\[Cart​User​Error!\]!](https://shopify.dev/docs/api/storefront/latest/objects/CartUserError)

  non-null

  The list of errors that occurred from executing the mutation.

* warnings

  [\[Cart​Warning!\]!](https://shopify.dev/docs/api/storefront/latest/objects/CartWarning)

  non-null

  A list of warnings that occurred during the mutation.

***

## Examples

* ### cartClone reference